install-new-server.sh: update go version, add btop, non-interactive rust imstallation
arnaucube root@arnaucube.com
Sun, 04 Feb 2024 10:01:50 +0100
2 files changed,
12 insertions(+),
5 deletions(-)
M
.sh_alias
→
.sh_alias
@@ -25,4 +25,4 @@ alias gitg="git log --color --graph --abbrev-commit --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %s %Cgreen(%ar)%C(cyan) %an<%ae>%Creset'"
alias python=python3 -alias cat='bat --theme="Monokai Extended" --style=plain' +# alias cat='bat --theme="Monokai Extended" --style=plain'
M
install-new-server.sh
→
install-new-server.sh
@@ -44,9 +44,9 @@
source .bashrc # go -echo "installing go 1.17.1" -wget https://golang.org/dl/go1.17.1.linux-amd64.tar.gz -tar -C /usr/local -xzf go1.17.1.linux-amd64.tar.gz +echo "installing go 1.21.6" +wget https://golang.org/dl/go1.21.6.linux-amd64.tar.gz +tar -C /usr/local -xzf go1.21.6.linux-amd64.tar.gz # nodejs echo "installing nodejs v16"@@ -66,10 +66,17 @@ # dpkg -i ripgrep_13.0.0_amd64.deb
apt install ripgrep -y echo "install Rust" -curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y # needed for later rust packages installations apt install build-essential -y + +# btop +wget https://github.com/aristocratos/btop/releases/download/v1.3.0/btop-x86_64-linux-musl.tbz +tar -xjf btop-x86_64-linux-musl.tbz +cd btop +bash install.sh +cd .. # assuming that Rust is installed echo "installing delta (gitdiff tool)"