If you install a program which depends on a number of other packages which are
not installed, then apt-get
automatically installs those dependencies. In
allmost all cases this is the desired behaviour.
But now and then I have a case where I don't want to install a package which is marked as required but which is not really needed to use the program I actually want to install.
Example:
- I want to install the program
logwatch
- the
logwatch
package depends on the installation of a mail transfer agent (MTA) logwatch
can be used without a MTA- I don't want to install a MTA
I know I could install the program from source. But I want to know if apt-get
provides a method to prevent the installation of a dependency (without breaking
the whole package management system).