In this article, we will have explained the necessary steps to install and configure Gdebi on Ubuntu 18.04 LTS. Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges. All the commands in this tutorial should be run as a non-root user.
Gdebi is a lightweight deb packages installer available by default in Ubuntu Desktop. Gdebi lets you to install any deb packages without opening the Default software center in Ubuntu.
Install Gdebi on Ubuntu
Step 1. First, before you start installing any package on your Ubuntu server, we always recommend making sure that all system packages are updated.
sudo apt update sudo apt upgrade
Step 2. Install Gdebi on Ubuntu 18.04.
The gdebi command line tool for Ubuntu 18.04 provides by the gdebi-core package. Run the install command with -y flag to quickly install the packages and dependencies:
sudo apt install gdebi-core -y
Note that, on the Ubuntu desktop, you need to install the gdebi package if you want GDebi GUI:
sudo apt install gdebi
Once you have the gdebi command available, run the following linux command to install example.deb DEB file. When prompted answer y to continue with the installation:
sudo gdebi example-package.deb
That’s all you need to do to install Gdebi package installer on Ubuntu 18.04. I hope you find this quick tip helpful. If you have questions or suggestions, feel free to leave a comment below.