gdebi command not found

In this troubleshooting guide we learn how to fix gdebi command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

gdebi: command not found

or when using sudo you get the following error message

sudo: gdebi: command not found

Solutions to gdebi: command not found

How To Fix gdebi: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gdebi is provided by gdebi-core package.

gdebi-core is:

gdebi lets you install local deb packages resolving and installing its dependencies. apt does the same, but only for remote (http, ftp) located packages.

It can also resolve build-depends of local debian/control files.

This package contains the libraries and command-line utility.

To fix this problem, we can install more using the command below.

sudo apt-get -y install gdebi-core

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install gdebi-core.

sudo apt -y install gdebi-core

Or if you have aptitude installed you can use the following command.

sudo aptitude install gdebi-core

Summary

In this tutorial we learn how to fix gdebi command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.