How to install DEB packages on Ubuntu & Linux Mint

Are you new to Linux and wondering how to install a Debian installer (,deb)? We have a detailed guide on all possible ways to install the DEB apps on Linux.

If you found a software setup file ending with the format (.deb) then this means the file is a Debian package that is designed especially for Debian based machines. If you are a newbie to Linux this may seem a little bit annoying because you may need some extra steps to install those Debian packages. But do not worry we are here to help you do so.

Installing DEB packages on Ubuntu and Linux Mint

During this tutorial, we are going to show you step by step how to install a Debian package on Ubuntu. We shall discuss two basic methods:

  • Installing Debian Packages via Command-Line (Terminal)
  • Installing Debian Packages via Graphical User Interface (Software Center Application and GDebi Application)

But before we start our guide let’s first ensure that you have an updated Ubuntu system using the following two commands:

sudo apt update
sudo apt upgrade

Method I: Installing the Debian Packages via Command-line

In the command line method, we are going to use the terminal to install a Debian package. Basically, you can use the terminal using one of the two methods:

  • via dpkg command
  • via GDebi command

dpkg

In general, if you are using the dpkg command  you can use the following command format:

sudo dpkg -i "path_to_Debian_Package"

Where you need to replace the “path_to_Debian_Package” with the path of your Debian package. Therefore, for example, to install ASC Music Debian package you would use a command like the below one:

sudo dpkg -i Downloads/asc-music_1.3-4_all.deb

Install Asc Music Package via dpgk Command
dpkg Command

GDebi

Our second command-line method is to use the GDebi command. In case you have not installed the GDebi on your system then use the following command to install it:

sudo apt install gdebi

Install Gdebi Package
Install Gdebi Package

Next, let’s use the GDebi command to install a Debian package by using the following command:

sudo gdebi Downloads/asc-music_1.3-4_all.deb

Install Asc Music Package via GDebi Command
GDebi Command

When the installation completes successfully you should get a message like the below one:

Asc Music Package Installed Successfully Via GDebi Command
Asc Music Package Installed

Method 2: Installing Debian Packages via Graphical User Interface

The easiest method to install a Debian package is to use the graphical user interface way. Again, you can choose between one of the two methods:

  1. Using Software Center
  2. Using GDebi Application

Installing the Debian Package using Software Center

During this method, we will be using the default Software Center that comes with Ubuntu. Luckily, there are not many steps, you just double-click on the package you need to install. Then install it via Software Center application. Let’s have a closer look at the steps as following:

Step 1. Check the Debian package in your Downloads directory.

Asc Music Debian Package
Asc Music Debian Package

Double click on the Debian package.

Step 2. As you can notice the Software Center will open. Now you can press the Install button to start the installation.

Install Asc Music Debian Package Using Software Installer
Install Asc Music Debian Package Using Software Installer

Step 3. You may be required to provide the sudo password for authentication. As you can see, the installation of the Debian package is in progress.

Installation Progress
Installation Progress

When the installation completes successfully you can get a screen like the below one with a Remove button instead. The Remove button can be used to uninstall the Debian package from your system.

Asc Installed Successfully Using Software Installer
Asc Installed

Now you should have installed the Debian package successfully.

Installing Debian Package Using GDebi Application

In the second graphical method, we can use the GDebi application. In this method, you should have the GDebi package installed. If it is not installed then you can use the following command to install it:

sudo apt install gdebi

Now let’s use the GDebi application.

Step 1. First, move to the directory where the Debian package is located. Then right-click on the Debian package and choose “Open with Another Application”.

Open Debian Package With Other Application
Context Menu

Step 2. From the recommended applications menu choose the GDebi Package Installer. Then click the “Select” button.

Select The GDebi Package Installer
GDebi Package Installer

Step 3. The GDebi application will open and load the Debian package.

Asc Music Package Loading in GDebi
Asc Music Package Loading in GDebi

Step 4. After the Debian package loads, you can click the Install Package to start the installation.

Asc Music Package Installed Successfully Via GDebi
Asc Music Package Installed

Step 5. As you can notice, the installation bar at the below of the GDebi installer.

Asc Music Package Installed Successfully Via GDebi
Asc Music Package Installed

Step 6. After the installation finishes successfully you should get a message like the below one.

Asc Music Package Installed Successfully Via GDebi
Asc Music Package Installed Successfully Via GDebi

Congratulations, you have just learned multiple methods for installation the Debian package on your Ubuntu Linux system. The tutorial should work on Ubuntu-based Linux distributions including Linux Mint, elementary OS, Pop!_OS, and more.

Hend Adel
Hi! I'm Hend Adel, a freelancer technical geek with successful experience in Database, Linux and many other IT fields. I help to build solutions to suit business needs and creating streamlined processes. I love Linux and I'm here to share my skills via FOSS Linux! Thanks for reading my article.

1 COMMENT

  1. Flashpeak Slimjet web browser releases a new version every few weeks. Copy the deb file onto the desktop. Double-click the icon. It installs itself, after prompting for the administrator’s password.

    The above icon, double click can work with most Debian based files, in any folder, including the desktop, on most Debian based operating systems. To do this with each release of the Linux kernel, released every few days by both the Linux Foundation as source code, but simultaneously available from the Unubutu web site, download the required 3 or 4 files into the folder.
    Then run in a terminal the following command:

    sudo dpkg -i *.deb

    Some programs need permission for dependencies, etc. If a Synaptic Package Manager is modified, these nuisance problems can be avoided.

Leave a Reply to Gregory Zeng Cancel reply

Please enter your comment!
Please enter your name here

STAY CONNECTED

23,241FansLike
399FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

MUST READ

The year is 2020, and Linux-based operating systems have never been more popular. All thanks to their increased security and privacy, smooth updates, and open-source nature, everyone wants to at least give a shot to its multitude of distributions. Now we have already covered some of the best Linux-based laptops that you can find in the market as of now. With that being said, we get it that they are not everyone's cup of tea, so Linux PC desktops are also something that you should be taking a look at as well.
“I am because you are,” is the themed meaning behind the famed Ubuntu operating system. Moreover, this mindful phrase is practical because it continues to lure more individuals into the Ubuntu universe. Because great power beckons great responsibility, Ubuntu is stepping up. It realizes that different users will want to use the Ubuntu operating system software differently.

The 6 Best Linux File Recovery Software

Now and then, most of us lose important data in our computers either through accidental deletion, virus attacks, permanent removal of files, etc. Some of these files contain critical information that cannot be assumed and needs recovery. In this post, we will discuss some of the best data recovery available for Linux systems. The fantastic part is that most of them are opensource and freely available for use.

3 Best Ways to Uninstall Software on Ubuntu

Uninstallation of programs can be done by graphical way using the Ubuntu Software Center, and the Synaptic Package manager. Command-line way of doing it is also possible using apt-get and aptitude commands. We shall discuss each one of them in detail.

Installing multiple Linux distros on a USB drive

A bootable Linux USB drive, which also referred to as a Live USB drive, is a drive containing files that enable a computer to boot into a specific Linux distro. It is most commonly used to test-drive various Linux distros before installing on the computer for use as a daily driver.

5 Best Notepad++ Alternatives for Linux

Notepad++ has been the de facto standard for source code editors for nearly 16 years, almost since its creation in 2003.  For Windows users, that is.  For years, Linux users had no source code editor that compared to Notepad++ with all its bells and whistles, such as code folding, scripting, markup languages, syntax highlighting, auto-completion for programming (limited).