Category: Ubuntu

Added: 17th of April 2016

Viewed: 3,522 times


How do I install a .deb package using the terminal

I find it easier and quicker to install .deb packages using the terminal instead of the gdebi package installer.

To install the .deb package open your terminal and enter the following command.
Replace [package_name] with the name of the package you downloaded.

You will be required to enter your root password

sudo dpkg -i [package_name]

If there are errors with unresolved dependencies whilst installing the package, for example dpkg: dependency problems prevent configuration of {package_name} you can run the following command in the terminal afterwards
sudo apt-get install -f




You might also be interested in:
Install multiple .deb files