How to install deb packages

This tutorial is for those who use Ubuntu, Debian or a derivative of Debian Linux and have downloaded a .deb package that they want to install. Typically you can use synaptic, apt-get or aptitude. However, if the package is not available via the repositories you may need to download and install them yourself.

How to manually install .deb packages:

Note: This process only installs the downloaded .deb package. If the package has dependencies, you may need to install them as well.

  1. Download your chosen .deb package via wget or another method
  2. From the terminal type sudo dpkg -i packagename.deb (replacing packagename with the name of the package)

Troubleshooting .deb dependencies:

If you receive an error like the following:
packagename depends on otherprogram (>= 1:0.0.0); however: Package otherprogram is not installed

You'll most likely need to install the otherprogram(s) before you can continue to install your .deb package by typing apt-get install otherprogram (replace otherprogram with the program name)

How to install deb packages published under Using and Configuring Linux