Originally Posted by
TheAnimus
With debian you have a tool called dpkg the debian package manager, it makes installing things (and crucially getting them patched because of all the secuirty bugs been found) a breeze.
dpkg is a bit low level for most tasks, intead I recommend apt which will automaticaly handle dependacies and download the packages you need automaticaly
Example using dpkg:
Code:
# dpkg -i apache_1.3.33-8_i386.deb
Selecting previously deselected package apache.
(Reading database ... 162737 files and directories currently installed.)
Unpacking apache (from apache_1.3.33-8_i386.deb) ...
.
dpkg: dependency problems prevent configuration of apache:
apache depends on apache-common (>= 1.3.33-8); however:
Package apache-common is not installed.
apache depends on apache-common (<< 1.3.34-0); however:
Package apache-common is not installed.
dpkg: error processing apache (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache
Example using apt:
Code:
# apt-get install apache
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
apache-common
Suggested packages:
apache-doc apache-ssl apache-perl
The following NEW packages will be installed:
apache apache-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1224kB of archives.
After unpacking 3887kB of additional disk space will be used.
Do you want to continue [Y/n]?
As you can see, both tools detect that the package I asked for required others as dependaces, however dpkg just got stuck and gave an error, where as apt figured out what else it needed to install, and can if necessary download what you need.