Linux

How to Install DEB packages on Ubuntu & Linux Mint

How to Install DEB packages on Ubuntu & Linux Mint

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

If you find a software settings file that ends in a format (.deb) then this means that the file is a Debian package specifically designed for Debian-based machines. If you are a beginner to Linux, this might seem a little annoying because you might need a few extra steps to install the Debian package. But don’t worry, we are here to help you do that.

Install the DEB package on Ubuntu and Linux Mint

During this tutorial, we will show you step by step how to install the Debian package on Ubuntu. We will discuss two basic methods:

  • Install Debian Packages via Command-Line (Terminal)
  • Install the Debian Package through the Graphical User Interface (Software Center Application and GDebi Apps)

But before we begin our guide, first make sure that you have an updated Ubuntu system using the following two commands:

sudo apt update
sudo apt upgrade

Method I: Install the Debian Package via Command-line

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

  • via the dpkg command
  • via the GDebi command

dpkg

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

sudo dpkg -i "path_to_Debian_Package"

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

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

1

GDebi

Our second command line method is to use the GDebi command. If you have not installed GDebi on your system, use the following command to install it:

sudo apt install gdebi

2

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

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

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

4

Method 2: Install the Debian Package via the Graphical User Interface

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

  1. Using the Software Center
  2. Using the GDebi Application

Install the Debian Package using the Software Center

During this method, we will use the default Software Center that comes with Ubuntu. Luckily, there aren’t many steps, you just double click on the package that you need to install. Then install it via the Software Center application. Let’s look at the steps as follows:

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

5

Double click on the Debian package.

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

6

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

7

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

8

Now you have to install the Debian package successfully.

Install the Debian Package Using the GDebi Apps

In the second graphical method, we can use the GDebi application. In this method, you must install the GDebi package. If it’s 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 select “Open with Other Application”.

9

Step 2. From the suggested application menu select GDebi Package Installer. Then click the “Select” button.

10

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

11

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

12

Step 5. As you can see, the installation bar is at the bottom of the GDebi installer.

13

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

14

Congratulations, you just learned a few methods for installing Debian packages on your Ubuntu Linux system. The tutorial should work on Ubuntu-based Linux distributions including Linux Mint, basic OS, Pop! _OS, and more.

Related posts

How to Install an Ubuntu 20.04 LTS (Focal Fossa) Server

Howto

How to Install Webmin on Ubuntu 20.04

Linux

How to Change SFTP Port

Linux

How to Install PHP on Ubuntu 20.04

Linux

How to Install Elasticsearch, Logstash, and Kibana (ELK Stack) on Ubuntu 20.04

Linux

How To Install NTP (Chrony) On CentOS 8 / CentOS 7 & RHEL 8 / RHEL 7

Linux

How to use the chmod command on Linux

Howto

How to Change the Directory Name in Linux

Linux

How to ZSH and Oh-my-zsh Settings on Linux

Linux