install apache with apt-get code example Example: : sudo apt install apache2 sudo apt install apache2