To install a package along with dependencies, open a terminal and run:

  • deb package:

dpkg -i [package]

If dependencies needed, to install the required dependencies

apt-get install -f

  • rpm package:

rpm -i [package]

If dependencies needed, to install the required dependencies

yum install [package]

To upgrade an existing package:

  • deb package:

dpkg -i [package]

  • rpm package:

rpm -U --force [package]


See also:

Uninstallation on Linux

Installing issues