An open API service indexing awesome lists of open source software.

https://github.com/habedi/duckdb-snap

A Snap package for DuckDB
https://github.com/habedi/duckdb-snap

cli-app duckdb linux snap snap-package

Last synced: 4 months ago
JSON representation

A Snap package for DuckDB

Awesome Lists containing this project

README

          

# A Snap Package for DuckDB

[![Build](https://github.com/habedi/duckdb-snap/actions/workflows/build.yml/badge.svg)](https://github.com/habedi/duckdb-snap/actions/workflows/build.yml)
[![Snapcraft.io](https://snapcraft.io/duckdb/badge.svg)](https://snapcraft.io/duckdb)
[![License](https://img.shields.io/badge/License-MIT-yellow)](https://github.com/habedi/duckdb-snap/blob/main/LICENSE)

This repository contains the source code for building a Snap package (called a `snap`) from the latest stable
release of [DuckDB](https://github.com/duckdb/duckdb/releases/).

I made this package to make it easier to install DuckDB on different GNU/Linux distributions like Debian, Ubuntu,
Fedora, etc. and to keep it up-to-date.
Currently, the package is built for the `amd64` architecture only.

**Note that this is an unofficial Snap package for DuckDB.**

Please use the [Issues page](https://github.com/habedi/duckdb-snap/issues) to report bugs.

## Installation

```bash
# Install the Snap package from the Snap Store
sudo snap install duckdb --stable
```

```bash
# Run the commands below if you encounter permission errors while using the DuckDB shell
sudo snap connect duckdb:removable-media
sudo snap connect duckdb:system-observe
```

## Development

```bash
# Install Snap, Snapcraft, and Multipass
sudo apt install snapd
sudo snap install snapcraft --classic
sudo snap install multipass --classic
```

```bash
# Clone this repository
git clone --depth=1 https://github.com/habedi/duckdb-snap.git
```

```bash
# Build the package
cd duckdb-snap/
bash build.sh
```

```bash
# Install the package manually (optional)
sudo snap install --dangerous duckdb_VER_amd64.snap # Replace VER with the actual version
```

## License

The files in this repository are licensed under the [MIT License](LICENSE).