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
- Host: GitHub
- URL: https://github.com/habedi/duckdb-snap
- Owner: habedi
- License: mit
- Created: 2025-01-07T21:13:04.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-04-13T12:05:24.000Z (7 months ago)
- Last Synced: 2025-04-13T12:38:43.012Z (7 months ago)
- Topics: cli-app, duckdb, linux, snap, snap-package
- Language: Shell
- Homepage: https://snapcraft.io/duckdb
- Size: 61.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-duckdb - Snap package - Snap package of DuckDB, e.g., for Ubuntu Linux. (Installers)
README
# A Snap Package for DuckDB

[](https://github.com/habedi/duckdb-snap/actions/workflows/build.yml)
[](https://snapcraft.io/duckdb)
[](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).