install apache linux command prompt code example Example: ubuntu install apache2 sudo apt-get install apache2