apt-get Install httpd

How do you install httpd in Linux using apt-get command?

How to Install httpd with apt-get?

apt-get install httpd -y

Install Httpd  Command

Here is a tutorial to learn how to install httpd using apt-get command.

Step 1: Open terminal with su access and enter the command as shown below:
apt-get install httpd -y

Step 2: After completion, the install command exits and instructs the user to restart the running instances of httpd if it is running already.

Result of the Command Execution shown below:

root@hiox:~ apt-get install httpd -y
Reading package lists...
Building dependency tree...
Reading state information...
Package httpd is a virtual package provided by:
nginx 0.7.65 1ubuntu2.3
lighttpd 1.4.26 1.1ubuntu3.1
apache2 mpm itk 2.2.14 5ubuntu8.15
apache2 mpm worker 2.2.14 5ubuntu8.15
apache2 mpm prefork 2.2.14 5ubuntu8.15
apache2 mpm event 2.2.14 5ubuntu8.15
yaws 1.84 2
webfs 1.21 5.2
tntnet 1.6.3 4
thttpd 2.25b 11
ocsigen 1.2.2 1build1
monkey 0.9.3 1
mini httpd 1.19 9.2
micro httpd 20051212 12
mathopd 1.5p6 1ubuntu1
fnord 1.10 4
ebhttpd 1:1.0.dfsg.1 4ubuntu1
dhttpd 1.02a 18
cherokee 0.99.39 4.1
bozohttpd 20090522 2
boa 0.94.14rc21 3.1
aolserver4 daemon 4.5.1 12
aolserver4 core 4.5.1 12
You should explicitly select one to install.
root@hiox:~


Related Topics

Apt Get Commands