uname -m →specifies Processor bit(32 or 64 bit)

uname -r → linux version

cat /etc/os-release → specifies ubuntu version & details

hostnamectl→display username,ubuntu version, system architecture


Golang Installation


 Step1: sudo apt update && sudo apt upgrade -y

           Step2: cd~

           Step3: curl -OL https://golang.org/dl/go1.16.7.linux-amd64.tar.gz

            Step4: sha256sum go1.16.7.linux-amd64.tar.gz

           Step5: sudo tar -C /usr/local -xvf go1.16.7.linux-amd64.tar.gz

            Step6: sudo nano ~/.profile

           Step7: source ~/.profile

           Step8: go version


Php Installation


Step 1: sudo apt install software-properties-common

Step 2: sudo add-apt-repository ppa:ondrej/php

Step 3: sudo apt -y install php

Step 4: php -v

Step 5(optinal): sudo apt -y install php-cli php-common php-json php-opcache php-mysql php-mbstring php-mcrypt php-zip php-fpm libapache2-mod-php php-curl php-xmlrpc php-intl php-gd php-dev php-pear php-gmp php-dom php-dev php-pear



Mysql Installation

step1: sudo apt update
step2: sudo apt install mysql-server
step3: mysql -v


Java Installation

sudo apt update && sudo apt upgrade -y
sudo apt install default-jre              # version 2:1.11-72, or
sudo apt install openjdk-11-jre-headless  # version 11.0.15+10-0ubuntu0.20.04.1
sudo apt install openjdk-13-jre-headless  # version 13.0.7+5-0ubuntu1~20.04
sudo apt install openjdk-16-jre-headless  # version 16.0.1+9-1~20.04
sudo apt install openjdk-17-jre-headless  # version 17.0.3+7-0ubuntu0.20.04.1
sudo apt install openjdk-8-jre-headless   # version 8u312-b07-0ubuntu1~20.04


Python Installation

sudo apt update && sudo apt upgrade -y
sudo apt upgrade -y
sudo apt install python3.8 -y
python3 --version

Pip Installation


sudo apt update && sudo apt upgrade -y

sudo apt install python3-pip

pip3 --version


GCC Installation

sudo apt update && sudo apt upgrade -y
sudo apt install build-essential
sudo apt-get install manpages-dev
gcc --version


Node.js/ javascript Installation

sudo apt update && sudo apt upgrade -y
sudo apt install nodejs
sudo apt install npm
node -v #Check nodejs version


R Installation

sudo apt update && sudo apt upgrade -y
sudo apt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'
sudo apt update
sudo apt install r-base
sudo apt install build-essential
R --version

Swift Installation

sudo apt update && sudo apt upgrade -y

sudo apt install binutils git gnupg2 libc6-dev libcurl4 libedit2 libgcc-9-dev libpython2.7 libsqlite3-0 libstdc++-9-dev libxml2 libz3-dev pkg-config tzdata zlib1g-dev

wget https://swift.org/builds/swift-5.3.3-release/ubuntu2004/swift-5.3.3-RELEASE/swift-5.3.3-RELEASE-ubuntu20.04.tar.gz

wget https://swift.org/builds/swift-5.3.3-release/ubuntu2004/swift-5.3.3-RELEASE/swift-5.3.3-RELEASE-ubuntu20.04.tar.gz.sig

gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys '7463 A81A 4B2E EA1B 551F  FBCF D441 C977 412B 37AD' '1BE1 E29A 084C B305 F397  D62A 9F59 7F4D 21A5 6D5F' 'A3BA FD35 56A5 9079 C068  94BD 63BC 1CFE 91D3 06C6' '5E4D F843 FB06 5D7F 7E24  FBA2 EF54 30F0 71E1 B235' '8513 444E 2DA3 6B7C 1659  AF4D 7638 F1FB 2B2B 08C4' 'A62A E125 BBBF BB96 A6E0  42EC 925C C1CC ED3D 1561' '8A74 9566 2C3C D4AE 18D9  5637 FAF6 989E 1BC1 6FEA'

gpg --verify swift-5.3.3-RELEASE-ubuntu20.04.tar.gz{.sig,}

 tar -xvzf swift-5.3.3-RELEASE-ubuntu20.04.tar.gz -C ~

echo "PATH=~/swift-5.3.3-RELEASE-ubuntu20.04/usr/bin:$PATH" >> ~/.bashrc

. ~/.bashrc

swift --version

Scala Installation

sudo apt update && sudo apt upgrade -y

sudo apt install default-jdk
            or
sudo apt install openjdk-11-jre-headless

sudo apt install scala

scala -version

Ruby Installation

sudo apt update && sudo apt upgrade -y

sudo apt install ruby-full

ruby -version/--version

Kotlin Installation


sudo apt update && sudo apt upgrade -y

sudo apt install openjdk-11-jre-headless 

snap install --classic kotlin

kotlin -version


Perl Installation

sudo apt update && sudo apt upgrade -y
sudo apt install perl
sudo apt list --installed | grep -i perl
sudo apt install libdbd-mysql-perl -y
perl -verion

Haskell installation

sudo apt update && sudo apt upgrade -y
sudo apt-get install haskell-platform -y
haskell-compiler --version