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.
Warp Terminal

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 is not worth using just to install 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 overkill and a 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 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 the 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 distributions. 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 an excellent 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?

About the author
Abhishek Prakash

Abhishek Prakash

Created It's FOSS 11 years ago to share my Linux adventures. Have a Master's degree in Engineering and years of IT industry experience. Huge fan of Agatha Christie detective mysteries 🕵️‍♂️

Become a Better Linux User

With the FOSS Weekly Newsletter, you learn useful Linux tips, discover applications, explore new distros and stay updated with the latest from Linux world

It's FOSS

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.