How To Install cppreference-doc-en-qch on Debian 9

In this tutorial we learn how to install cppreference-doc-en-qch on Debian 9. cppreference-doc-en-qch is C and C++ standard library reference (English, Qt Help variant)

Introduction

In this tutorial we learn how to install cppreference-doc-en-qch on Debian 9.

What is cppreference-doc-en-qch

cppreference-doc-en-qch is:

A version of online C and C++ standard library reference manual available at en.cppreference.com, suitable for viewing offline.

This package contains a Qt Help book.

There are three methods to install cppreference-doc-en-qch on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install cppreference-doc-en-qch Using apt-get

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

sudo apt-get update

After updating apt database, We can install cppreference-doc-en-qch using apt-get by running the following command:

sudo apt-get -y install cppreference-doc-en-qch

Install cppreference-doc-en-qch Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install cppreference-doc-en-qch using apt by running the following command:

sudo apt -y install cppreference-doc-en-qch

Install cppreference-doc-en-qch 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install cppreference-doc-en-qch using aptitude by running the following command:

sudo aptitude -y install cppreference-doc-en-qch

How To Uninstall cppreference-doc-en-qch on Debian 9

To uninstall only the cppreference-doc-en-qch package we can use the following command:

sudo apt-get remove cppreference-doc-en-qch

Uninstall cppreference-doc-en-qch And Its Dependencies

To uninstall cppreference-doc-en-qch and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove cppreference-doc-en-qch

Remove cppreference-doc-en-qch Configurations and Data

To remove cppreference-doc-en-qch configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge cppreference-doc-en-qch

Remove cppreference-doc-en-qch configuration, data, and all of its dependencies

We can use the following command to remove cppreference-doc-en-qch configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge cppreference-doc-en-qch

Dependencies

cppreference-doc-en-qch have the following dependencies:

References

Summary

In this tutorial we learn how to install cppreference-doc-en-qch package on Debian 9 using different package management tools: apt, apt-get and aptitude.