How To Install qapt-deb-installer on Ubuntu 18.04

In this tutorial we learn how to install qapt-deb-installer on Ubuntu 18.04. qapt-deb-installer is tool for installing deb files

Introduction

In this tutorial we learn how to install qapt-deb-installer on Ubuntu 18.04.

What is qapt-deb-installer

qapt-deb-installer is:

QApt is a collection of tools and a library providing a wrapper around APT. The intention is to ease the use of APT in Qt-based programs.

The QApt deb installer allows you to install local .deb files. The QApt Deb Installer resolves and downloads dependencies. The APT package manager does the same, but only for remote packages.

There are three methods to install qapt-deb-installer on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install qapt-deb-installer Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install qapt-deb-installer using apt-get by running the following command:

sudo apt-get -y install qapt-deb-installer

Install qapt-deb-installer Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install qapt-deb-installer using apt by running the following command:

sudo apt -y install qapt-deb-installer

Install qapt-deb-installer Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install qapt-deb-installer using aptitude by running the following command:

sudo aptitude -y install qapt-deb-installer

How To Uninstall qapt-deb-installer on Ubuntu 18.04

To uninstall only the qapt-deb-installer package we can use the following command:

sudo apt-get remove qapt-deb-installer

Uninstall qapt-deb-installer And Its Dependencies

To uninstall qapt-deb-installer and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove qapt-deb-installer

Remove qapt-deb-installer Configurations and Data

To remove qapt-deb-installer configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge qapt-deb-installer

Remove qapt-deb-installer configuration, data, and all of its dependencies

We can use the following command to remove qapt-deb-installer configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge qapt-deb-installer

References

Summary

In this tutorial we learn how to install qapt-deb-installer package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.