Ubuntu: Install .deb package and it's dependencies

There are 2 ways to do that

A) Manually
  1. sudo dpkg -i your_package.deb (This will install the package but with the missing dependencies, if there is)
  2. sudo apt-get install -f (This will download the missing packages, after that, your are good to go)
B) Or you can use gdebi. This package has 2 version, command line and one with a GUI. The GUI one integrates with your file explorer so you right-click your package, and select to open it using Gdebi.

The command line version can be installed by runing this command sudo apt-get install gdebi-core, the GUI version for GNOME can be installed by running the command sudo apt-get install gdebi. For KDE, run the following command sudo apt-get install gdebi-kde.

To use the command line version of gdebi. Just run the following command sudo gdebi your_package.deb.

Comments

Popular posts from this blog

Hosting Apache Tapestry5.1 on GAE (Google App Engine)

Apache Tapestry PageActivationContext tutorial

Testing SOAP services using pingdom