Skip to content

Instantly share code, notes, and snippets.

View r3xakead0's full-sized avatar

Afu Tse r3xakead0

View GitHub Profile
@r3xakead0
r3xakead0 / Install-ntpdate.sh
Created February 6, 2024 19:27
Install ntpdate on Linux Ubuntu to keep the time and date updated
sudo apt install ntpdate -y
sudo ntpdate time.nist.gov
date
@r3xakead0
r3xakead0 / Install-python3-pip3.sh
Created February 6, 2024 15:26
Install python and pip 3 on Linux Ubuntu
sudo apt update
sudo apt install python3 -y
python3 -V
which python3
sudo apt install python3-pip -y
pip3 -V
which pip3
@r3xakead0
r3xakead0 / Install-nvm.sh
Created February 5, 2024 15:27
Install nvm on Linux Ubuntu
sudo apt update
sudo apt install -y curl
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
nvm install node
nvm install 18.19.0
nvm list
nvm use 18.19.0
@r3xakead0
r3xakead0 / Install-python2.sh
Last active February 6, 2024 15:32
Install python 2 on Linux Ubuntu
sudo apt update
sudo apt install -y python2
python2 --version
which python2
@r3xakead0
r3xakead0 / Install-java-18.sh
Last active February 5, 2024 15:16
Install Java 18 on Linux Ubuntu
sudo apt update
sudo apt install -y openjdk-18-jdk
sudo apt install -y openjdk-18-jre
export JAVA_HOME=/usr/lib/jvm/java-18-openjdk-amd64
echo $JAVA_HOME
@r3xakead0
r3xakead0 / Install-aws-sam.sh
Last active February 6, 2024 15:30 — forked from singledigit/Install-AWS-SAM.sh
Install AWS SAM on Linux using the new Linux installer
sudo apt update
sudo apt install curl unzip -y
curl -L https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip -o aws-sam-cli-linux-x86_64.zip
unzip aws-sam-cli-linux-x86_64.zip -d sam-installation
sudo ./sam-installation/install
sam --version
rm -rf sam-installation