sudo apt update
sudo apt install golang

go version
First, create a new directory for the test program by running the below-mentioned command: mkdir goprogram
Step 1: The easiest way to enable Ubuntu Universe, Multiverse and Restricted repositories is to use the add-apt-repository command. The following commands will enable all repositories: sudo add-apt-repository universe multiverse restricted
Reboot your system: sudo reboot
Check again: Tick all repository
Step 2: Check for enabled repositories:
grep ^deb /etc/apt/sources.list
Django doesn’t support Python 2 anymore that is why we need to install python 3 in our system: sudo apt install python3.10.0
Sample output:
....
The following additional packages will be installed:
bzip2 libpython3.10-minimal libpython3.10-stdlib mailcap mime-support python3.10-minimal
Suggested packages:
bzip2-doc python3.10-venv python3.10-doc binfmt-support
To kill a process running on Port number 8000:
sudo kill -9 $(sudo lsof -t -i:8000)
lsof - list of files(Also used for to list related processes)
-t - show only process ID
-i - show only internet connections related process
Install python 3 in our system: sudo apt install python3.10.0
Sample output:
....
The following additional packages will be installed:
bzip2 libpython3.10-minimal libpython3.10-stdlib mailcap mime-support python3.10-minimal
Suggested packages:
bzip2-doc python3.10-venv python3.10-doc binfmt-support
To get started, log into the MySQL root (administrative) account by issuing the following command: sudo mysql -u root -p

CREATE DATABASE wordpress DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
In case you want to be perfectly sure:
lsof -i will list open ports and the corresponding applications. lsof | grep apache for apache. Similar: sudo netstat -anp | grep apache./etc/hosts for IP addresses connected to names./etc/apache2/sites-enabled/ for settings about the sites that are active for Apache./etc/apache2/ports.conf for the Listen. It will have a port-number behind it. That parameter can also be in /etc/apache2/sites-enabled/