How To Install qt-assistant-compat on Ubuntu 18.04

In this tutorial we learn how to install qt-assistant-compat on Ubuntu 18.04. qt-assistant-compat is Qt Assistant compatibility binary (legacy)

Introduction

In this tutorial we learn how to install qt-assistant-compat on Ubuntu 18.04.

What is qt-assistant-compat

qt-assistant-compat is:

Qt is a cross-platform C++ application framework. Qt’s primary feature is its rich set of widgets that provide standard GUI functionality.

This package contains the Qt Assistant compatibility version, based on Assistant Document Profile (.adp) files, and the associated QtAssistantClient library, for compatibility with applications providing help in that format.

New applications should use the new version of Qt Assistant introduced in Qt 4.4, based on the Qt Help Framework also introduced in Qt 4.4, instead.

There are three methods to install qt-assistant-compat 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 qt-assistant-compat Using apt-get

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

sudo apt-get update

After updating apt database, We can install qt-assistant-compat using apt-get by running the following command:

sudo apt-get -y install qt-assistant-compat

Install qt-assistant-compat Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install qt-assistant-compat using apt by running the following command:

sudo apt -y install qt-assistant-compat

Install qt-assistant-compat 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 qt-assistant-compat using aptitude by running the following command:

sudo aptitude -y install qt-assistant-compat

How To Uninstall qt-assistant-compat on Ubuntu 18.04

To uninstall only the qt-assistant-compat package we can use the following command:

sudo apt-get remove qt-assistant-compat

Uninstall qt-assistant-compat And Its Dependencies

To uninstall qt-assistant-compat and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove qt-assistant-compat

Remove qt-assistant-compat Configurations and Data

To remove qt-assistant-compat configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge qt-assistant-compat

Remove qt-assistant-compat configuration, data, and all of its dependencies

We can use the following command to remove qt-assistant-compat configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge qt-assistant-compat

References

Summary

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