This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ❔ duckdb_cli-linux-amd64 install shell script | |
# ☝️ shell (sudo required) | |
cd | |
DUCKDB_VERSION=v0.7.1 | |
echo $DUCKDB_VERSION | |
# 📦 Get the binary | |
wget https://github.com/duckdb/duckdb/releases/download/${DUCKDB_VERSION}/duckdb_cli-linux-amd64.zip | |
clear | |
file duckdb_cli-linux-amd64.zip | |
unzip duckdb_cli-linux-amd64.zip | |
file duckdb | |
# ⚙️ Install the binary | |
sudo mkdir /opt/duckdb | |
sudo cp duckdb /opt/duckdb | |
sudo chmod +x /opt/duckdb/duckdb | |
sudo ln -s /opt/duckdb/duckdb /usr/bin/duckdb | |
# 🚀 Test install | |
clear | |
duckdb --version | |
duckdb --help | |
# 🧽 Cleanup | |
cd | |
rm duckdb duckdb_cli-linux-amd64.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment