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
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
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
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
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:
- Using the Software Center
- 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.
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.
Step 3. You may be required to provide a sudo password for authentication. As you can see, the Debian package installation is in progress.
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.
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”.
Step 2. From the suggested application menu select GDebi Package Installer. Then click the “Select” button.
Step 3. The GDebi application will open and load the Debian package.
Step 4. After the Debian package is loaded, you can click Install Package to start the installation.
Step 5. As you can see, the installation bar is at the bottom of the GDebi installer.
Step 6. After the installation completes successfully, you should get a message like the one below.
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.