Install DEB file on Ubuntu 18.04 Bionic Beaver Linux


The objective is to install DEB file on Ubuntu 18.04 Bionic Beaver Linux. Files with deb extentions are simply Debian packages.

Since Ubuntu is also in its core using Debian Package management to install or uninstall software it is a relatively easy task to install DEB file on Ubuntu.

Operating System and Software Versions

  • Operating System: – Ubuntu 18.04 Bionic Beaver


Privileged access to your Ubuntu System as root or via sudo command is required.


  • # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command
  • $ – requires given linux commands to be executed as a regular non-privileged user

Other Versions of this Tutorial

Ubuntu 20.04 (Focal Fossa)



Installation of DEB packages from an external source is generally not recommended! Doing so may have a negative impact on the stability and security of you Ubuntu system.

Ubuntu comes with myriad of software packages as part of its repository. From this reason first ensure that the package you wish to install is not already available from within Ubuntu repository.

To search Ubuntu package repository for a package use:

$ apt search SOME-KEYWORD

To install package using apt command, first take a note of the package name produced by the previous search command and then execute:

$ sudo apt install PACKAGE-NAME

Install DEB file using dpkg

The first and perhaps the most common way to install DEB file on Ubuntu is by use of dpkg command. The following linux command will install DEB file called example.deb on you Ubuntu system:

$ sudo dpkg -i example.deb

In case that the package requires dependencies the dpkg will produce the following error:

dpkg: error processing package 

This is normal and it is nothing to worry about. Given that all required package dependencies are available via Ubuntu repository. To fix this issue run:

$ sudo apt install -f

Install DEB file using gdebi

Better approach on how to install DEB file on Ubuntu is by using gdebi command. The advantage using gdebi in comparison to the above dpkg command is that gdebi will automatically download and install all required prerequisite packages.

If the gdebi command is not available on your system you can install it by executing:

$ sudo apt install gdebi-core

Once you have the gdebi command available, run the following linux command to install example.deb DEB file. When prompted answer y to continue with the installation:

$ sudo gdebi example.deb

Install DEB file via GUI

In case you have a graphical user interface (GUI) at your disposal you can also install DEB file on Ubuntu with only few mouse clicks. The following example will illustrate how to install skype on Ubuntu from DEB file:

Install DEB file on UBUNTU using GUI

Right click on the DEB file you wish to install and select Open With Software Install.

continue with the DEB file installation - Ubuntu 18.04

To continue with the DEB file installation hit Install button.

continue with the DEB file installation enter password - Ubuntu 18.04

Enter your password.

DEB file is now installed - Ubuntu 18.04

DEB file is now installed on your Ubuntu system.