linux command to install apache code example Example: : sudo apt install apache2 sudo apt install apache2