32.2 Installing the Apache Web Server Packages
The current release of Ubuntu typically does not install the Apache web server by default. To check whether the server is already installed, run the following command:
# apt -qq list apache
If apt generates output similar to the following, the apache server is already installed:
apache2/bionic-updates,bionic-security,now 2.4.29-1ubuntu4.13 amd64 [installed]
If the apt output does not list the package or include the [installed] status, run the following command at the command prompt to perform the Apache installation:
# apt install apache2