added must install files (files that get prioritised)
This commit is contained in:
@@ -1 +0,0 @@
|
||||
sudo apt-get install gcc g++ make
|
||||
@@ -1,2 +0,0 @@
|
||||
sudo apt-get update
|
||||
sudo apt-get install git -y
|
||||
@@ -1,17 +0,0 @@
|
||||
# Get the full html and get the link of the button
|
||||
wget https://go.dev/dl/
|
||||
|
||||
# get latest Linux download row
|
||||
latestversionsh="$(grep -w 'downloadBox' "index.html")"
|
||||
latestversionsh=$(echo "$latestversionsh" | grep 'linux')
|
||||
|
||||
a="$(grep -w 'data-linux="' "download")"
|
||||
latestversionsh=${latestversionsh#*'href="'}
|
||||
latestversionsh=${latestversionsh%'">'*}
|
||||
|
||||
# Download latest golang version
|
||||
wget "https://go.dev"$latestversionsh
|
||||
|
||||
# Remove any previous Go installation then extract the archive
|
||||
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.19.1.linux-amd64.tar.gz
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
@@ -1,16 +0,0 @@
|
||||
# get nvm package
|
||||
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
|
||||
|
||||
# export nvm to env table
|
||||
if [[ $(which zsh) == "/usr/bin/zsh" ]]; then
|
||||
echo 'export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"' >> ~/.zshrc
|
||||
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.zshrc
|
||||
source ~/.zshrc
|
||||
else
|
||||
echo 'export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"' >> ~/.bashrc
|
||||
echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm' >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
fi
|
||||
|
||||
# install latest version of node
|
||||
nvm install node
|
||||
@@ -1,2 +0,0 @@
|
||||
sudo apt update
|
||||
sudo apt install default-jdk -y
|
||||
@@ -1,2 +0,0 @@
|
||||
sudo apt-get update && sudo apt-get upgrade
|
||||
sudo apt-get install php -y
|
||||
Reference in New Issue
Block a user