From afebc98ef7e000a3767d2fd4318f3acc72e39a06 Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Sat, 28 May 2022 08:30:47 +0800 Subject: [PATCH] u --- ipfsgo-install.sh | 4 ++++ nodejs-install.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 ipfsgo-install.sh diff --git a/ipfsgo-install.sh b/ipfsgo-install.sh new file mode 100644 index 0000000..b0386be --- /dev/null +++ b/ipfsgo-install.sh @@ -0,0 +1,4 @@ +wget https://dist.ipfs.io/go-ipfs/v0.12.2/go-ipfs_v0.12.2_linux-amd64.tar.gz +tar -xvzf go-ipfs_v0.12.2_linux-amd64.tar.gz +cd go-ipfs +sudo mv ipfs /usr/local/bin/ diff --git a/nodejs-install.sh b/nodejs-install.sh index 89e0a3a..e841c05 100755 --- a/nodejs-install.sh +++ b/nodejs-install.sh @@ -18,7 +18,7 @@ fi sudo apt update echo "######## Installing C++ build tools for Linux ########" -sudo apt install curl gcc g++ make python -y # Debian 11 has no python by default. +sudo apt install wget curl gcc g++ make python -y # Debian 11 has no python by default. echo "######## Installing nodejs v$nodeVersion ########" echo From https://deb.nodesource.com/setup_$nodeVersion.x