How To Install libqtassistantclient4 on Ubuntu 18.04

In this tutorial we learn how to install libqtassistantclient4 on Ubuntu 18.04. libqtassistantclient4 is Qt Assistant client library (runtime)

Introduction

In this tutorial we learn how to install libqtassistantclient4 on Ubuntu 18.04.

What is libqtassistantclient4

libqtassistantclient4 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 files necessary to run applications using the deprecated QAssistantClient class, which is used together with the legacy Assistant Document Profile (.adp) version of Qt Assistant.

This library is obsolete. It is provided to keep old source code working. It is strongly advised against using it in new code. New code should use the Qt Help Framework introduced in Qt 4.4 and/or the version of Qt Assistant based on it (also introduced in Qt 4.4) instead.

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

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

sudo apt-get update

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

sudo apt-get -y install libqtassistantclient4

Install libqtassistantclient4 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libqtassistantclient4 using apt by running the following command:

sudo apt -y install libqtassistantclient4

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

sudo aptitude -y install libqtassistantclient4

How To Uninstall libqtassistantclient4 on Ubuntu 18.04

To uninstall only the libqtassistantclient4 package we can use the following command:

sudo apt-get remove libqtassistantclient4

Uninstall libqtassistantclient4 And Its Dependencies

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

sudo apt-get -y autoremove libqtassistantclient4

Remove libqtassistantclient4 Configurations and Data

To remove libqtassistantclient4 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libqtassistantclient4

Remove libqtassistantclient4 configuration, data, and all of its dependencies

We can use the following command to remove libqtassistantclient4 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libqtassistantclient4

References

Summary

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