Category: Ubuntu

Added: 17th of April 2016

Viewed: 1963 times

How do I install a .deb package using the terminal

This tutorial works in Ubunbu, Kubuntu, Xubuntu, Lubuntu, Ubuntu Mate and other Ubuntu based distributions. The tutorial also works in Linux Mint and other Debian based distributions.

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

Other Tips & Tutorials

Ubuntu

Download Microsoft Edge preview version for Ubuntu and Ubuntu based distributions

Posted: 22nd of October 2020

Views: 43

Ubuntu

Create a really simple banner using GIMP (GNU Image Manipulation Program) in Linux

Posted: 7th of August 2020

Views: 166

Ubuntu

Install the tree package to list folders and files in a tree like format inside the terminal on Linux

Posted: 22nd of July 2020

Views: 167

Ubuntu

Ubuntu 4.10, Warty Warthog. The first Ubuntu Linux Distribution

Posted: 6th of October 2019

Views: 962

Ubuntu

Sim City 4 Deluxe Edition Install Wine Linux. Trouble installing from CD/Disk 2

Posted: 19th of May 2019

Views: 1228

Ubuntu

Where are the fonts located in Ubuntu and other Ubuntu based distributions

Posted: 3rd of June 2018

Views: 1335

Ubuntu

Install MariaDB Database in Ubuntu and other Ubuntu based distributions (Part 1)

Posted: 26th of May 2018

Views: 1274

Ubuntu

Convert .mkv video to .png images using ffmpeg

Posted: 24th of May 2018

Views: 2623

Ubuntu

Shutdown Ubuntu using the terminal

Posted: 20th of May 2018

Views: 1142

Ubuntu

Running Sketchup 8 in Wine. Sketchup was unable to initialize OpenGL, Linux

Posted: 29th of May 2016

Views: 3576