sudo aptitude install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages have been automatically kept back:
irb1.8 libopenssl-ruby1.8 libreadline-ruby1.8 rdoc1.8 ri1.8
The following NEW packages will be automatically installed:
apache2-common apache2-mpm-worker
The following NEW packages will be installed:
apache2 apache2-common apache2-mpm-worker
0 packages upgraded, 3 newly installed, 0 to remove and 5 not upgraded.
Need to get 0B/1052kB of archives. After unpacking 3727kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Selecting previously deselected package apache2-common.
(Reading database ... 63310 files and directories currently installed.)
Unpacking apache2-common (from .../apache2-common_2.0.55-4ubuntu4_i386.deb) ...
Selecting previously deselected package apache2-mpm-worker.
Unpacking apache2-mpm-worker (from .../apache2-mpm-worker_2.0.55-4ubuntu4_i386.deb) ...
Selecting previously deselected package apache2.
Unpacking apache2 (from .../apache2_2.0.55-4ubuntu4_i386.deb) ...
Setting up apache2-common (2.0.55-4ubuntu4) ...
Setting up apache2-mpm-worker (2.0.55-4ubuntu4) ...