Update install-new-server.sh

This commit is contained in:
arnaucube
2021-08-24 10:06:21 +02:00
parent a671b13e0b
commit 21b2d6dca6

View File

@@ -39,16 +39,16 @@ curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \
## :GoInstallBinaries
# bash
cp .bash_alias ~/.bash_alias
cp .sh_alias ~/.sh_alias
echo "append .bashrc of this repo lines to the .bashrc system file"
cat .bashrc >> ~/.bashrc
source .bashrc
# go
echo "installing go 1.14.2"
wget https://golang.org/dl/go1.16.4.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.16.4.linux-amd64.tar.gz
echo "installing go 1.16.7"
wget https://golang.org/dl/go1.16.7.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.16.7.linux-amd64.tar.gz
# nodejs
echo "installing nodejs v14"
@@ -69,6 +69,9 @@ dpkg -i ripgrep_11.0.2_amd64.deb
echo "install Rust"
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# needed for later rust packages installations
apt install build-essential
# assuming that Rust is installed
echo "installing delta (gitdiff tool)"
cargo install git-delta