Gdebi: How to use gdebi package installer to install deb packages

- Advertisment -
- Advertisement -

Gdebi is a simple, Open source and lightweight tool to install Debian packages on Ubuntu or Debian based Linux.

What is Gdebi?

We all acquainted with Ubuntu Software Center which is one of the easiest ways to install .Deb executable files. But believe me, the Gdebi is quicker than Ubuntu Software Center to install local Debian packages without using much system resources. It can install the packages by resolving and installing dependencies just like Ubuntu Software Center. If the dependencies of the installing Deb file reside on the system it will resolve them or not then from online. It works same as apt but that only used to install the remote package from repositories using HTTP or FTP packages.

Being a user of Ubuntu Software, you may have faced many times while installing some local Deb files, it shows extra dependencies needed but without any information which one. However, in this tool, it at least shows the dependencies that will be installed. Point to be noted, the tool only resolves the dependencies available in standard Ubuntu repos, if there is some .DEB package which is not in that then you need to add its repo manually first then only this tool can be helpful. To more about this project info, click here.

So, here in this tutorial, we will show you how to install the GDebi on Ubuntu or Debian and how to use and set it to default Debian package installer.

Install and use GDebi package manager on Ubuntu and Debian.

We are using Ubuntu 18.04 but the steps will be the same for earlier versions such as Ubuntu 17.04,16.04,15.04…

  1. Go to your Debian based Linux operating system.
  2. Open the command terminal
  3. Type the below command to download and install this package manager
    • sudo apt install gdebi
  4. The system will ask for the root password for the installation, enter that.install Gdebi on Ubuntu Debian package manager

How to use GDebi to install DEB packages

After installing this tool, go to the Applications where you will find the shortcut for the GDEBI GTK GUI interface.

How to use Gdebi

Click on the icon and you will find GDebi GTK interface to install Debian packages. For installing any package Click on the File option in Menu and then Open option.

GDEBI package installer

Here, we used the Teamviewer DEB package to install the Teamviewer remote control software on Ubuntu. You can also remove the package from here too.

DEB install Gdebi

How to set GDebi as Default Deb Package Installer

To set this as default Debian package installer, just right-click on any deb package available on your Linux computer and select Properties option.

Set Gdebi as default DEB package installer

In the Properties, select Open With Tab and then Click on the GDebi Package Installer application and then click on the Set as Default button.

deault package installer Ubuntu GDEBI

How to use GDebi Package Installer Command Line

Besides the graphical interface to install executable Deb files, you can also use it with the command line. To install packages via GDEBI using command line see the below command:

sudo gdebi [package.deb]

For example:
We have installed the TeamViewer using this package installer. For that, we just typed sudo gdebi with the name of the downloaded file. See the below screenshot.

gdebi package installer command line

Options those can use with this command line interface

       --version
              Show program's version number and exit.

       -h, --help
              Show this help message and exit.

       --n, --non-interactive
              Run non-interactive (dangerous!).

       --o APT_OPTS, --option=APT_OPTS
              Set an APT configuration option.

       --q, --quiet
              Do not show progress information.

       --apt-line
              Simulate only and print a apt-get install compatible line to stderr.

       --root=ROOTDIR
              Use alternative root dir.

In this way, you can install the Debian packages using the GDebi. The above tutorial can be used on any other Debian based Linux operating system such as Linux Mint. Moreover, if you get any problem while installing let us know the comment section is all yours!!

 

Other Resources to read:

Rajkumar Mauryahttps://www.how2shout.com
Rajkumar Maurya is the H2S Media tech expert. He’s always been passionate about technology and has been writing on the subject since 2014. He has extensive knowledge of all kinds of technology, from consumer-tech to enterprise solutions. You can contact the author at-- raj@how2shout.com

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Latest Posts

5 Best Education apps for students in India 2020 (Editors’ Choice)

As we know 2020 is the year of crisis, amid lockdown, most of the people started working from home...

During COVID-19, Onsitego initiates a fund support service for partners & employees

Since COVID-19 workers and company partners are compelled to stay at home which hurting them financially, thus Onsitego, an...

All that you should know before thinking to become a Web developer

All of us know that technology has brought a drastic revolution in each and possible way you can think....

6 Best Online Grocery Apps for Android in India

All of us know that the revolution brought by technology is very amazing and the interesting fact about the...
- Advertisement -

5 Best Android apps for doctor appointments in India

We all have to visit doctors either frequently or within small to big gaps for every small and big...

Best Android Racing Games on Speed Boats and Ships

No doubt that there is an ocean of games available in our favourite store and this the time when...

- Advertisment -
- Advertisement -

You might also likeRELATED
Recommended to you