Use GDebi for Quickly Installing DEB Packages in Ubuntu

Gdebi is a tiny little app that helps you install deb files more effectively by handling dependencies. Learn how to use Gdebi and make it the default application for installing deb packages.

If you use Ubuntu you might be using the Software Center to install .deb executable files.

Ubuntu Software Center is known for eating resource. It is heavy, takes ages to load and makes your system crawl. It may be good for finding application but it certainly is not worth using just for installing a .deb file.

Once upon a time, Ubuntu used archive manager for installing .deb files but with time it changed and now Software Center is the default application for installing DEB files.

Now, if you are just trying to install a .deb file in Ubuntu, I would not recommend using the Software Center. It’s an overkill and waste of resources.

I recommend using GDebi, a dedicated program for installing Debian executable files. It is extremely lightweight and focused on installing .deb files.

The best thing about GDebi package installer is that it also shows the dependencies that will be installed along with the desired program. At times, it will install the dependencies along with the DEB package. The default Software Center is not very good at handling dependencies with the DEB packages.

gdebi handling dependency while installing deb package
gdebi can identify missing dependencies and install them

In this post, we shall see how to install GDebi and use it as the default installer instead of the Ubuntu Software Center.

Install GDebi in Ubuntu based distributions

Gdebi is available in the universe repository of Ubuntu. You should enable the additional repsotiories before hand else you’ll see ‘unable to locate gdebi’ or ‘gdebi command not found’ errors.

You can find gdebi in Ubuntu Software Center. Just search for it and install it from there.

Install Gdebi from Software Center
You can install gdebi from Software Center

Alternatively, you can install gdebi using command line. Open a terminal and use the following command:

sudo apt install gdebi

How to use Gdebi for installing deb packges [GUI and Terminal]

Now that you have installed Gdebi, you can use it to install deb packages.

Just right click on the download deb file and select Open with other applications.

Run a deb file with gdebi
Opening a deb file with gdebi

In here, select Gdebi from the list of available applications.

Install deb file using gdebi

You’ll see the option to install the deb package:

Installing deb package with Gdebi
Click on Install

You’ll be surprised to see how quick Gdebi is. The installation will be finished within seconds and then you can close the program.

Installing deb package with Gdebi
Installation finished

You can also use gdebi in command line mode, if you prefer to use terminal more than the GUI applications.

sudo gdebi <path_to_deb_file>

Make GDebi default for .deb installation

Once you have started loving GDebi, it’s time to see how to make it the default application for installing .deb files. Please note that I am using Elementary OS in this tutorial but the steps are applicable to all Ubuntu based distribution. Just the screenshots may look different.

Download a .deb file first. Let’s say you have downloaded Google Chrome. Go to the download directory and right click on the .deb file. In here, go to properties.

Make GDebi default in Ubuntu Linux

In the properties, you should see the option of open with. Click on it and change it to GDebi.

Make GDebi default instead of Ubuntu Software Center

Next time you double click on a .deb file, it will automatically open GDebi to install the .deb file. Indeed using such light applications is a good way to speed up Ubuntu or other Linux systems.

What do you say? You still prefer Ubuntu Software Center for application installation or GDebi? Or if you are old school, Synaptic Package Manager perhaps? Which one is your favorite?

Similar Posts

  • I, the newest newbie, past the first test! G-deb installer has worked for me until now. I can’t find my App to open. But I can see it is installed using; synaptic.

  • The problem is that GDebi does not run as root on Lubuntu 20.04. and nothing happens. So you need to make ti run root.

  • Yesterday upgraded to Ubuntu 21.10 and now it looks Gdebi is not working correct.
    I downloaded Gdebi from Ubuntu Software and installed , sofar OK>

    but when using gdebi to install another package gave an error message. installed that package with software install without any problems. never had problems with gdebi before???

  • This is exactly what I needed. Ubuntu software installer has been painfully slow. This was a great alternative.