Download & decompress# Install# Test & clean

This commit is contained in:
fred 2022-11-25 15:40:31 +01:00
parent 5129f17690
commit 600059cfb3
1 changed files with 8 additions and 1 deletions

View File

@ -1,9 +1,16 @@
#!/bin/bash
[ $(id -u) -eq 0 ] && echo "LANCEMENT root INTERDIT. Utilisez un simple utilisateur du groupe \"sudo\" SVP" && exit 1
# Download & decompress
mkdir ~/.zen/tmp
cd ~/.zen/tmp
wget https://dist.ipfs.tech/kubo/v0.16.0/kubo_v0.16.0_linux-amd64.tar.gz
tar -xvzf kubo_v0.16.0_linux-amd64.tar.gz
cd kubo
# Install
sudo bash install.sh
ipfs --version
# Test & clean
[[ $(ipfs --version) ]] \
&& rm -Rf ~/.zen/tmp/kubo*