How To Install cppreference-doc-en-html on Kali Linux

In this tutorial we learn how to install cppreference-doc-en-html on Kali Linux. cppreference-doc-en-html is C and C++ standard library reference (English, Devhelp variant)

Introduction

In this tutorial we learn how to install cppreference-doc-en-html on Kali Linux.

What is cppreference-doc-en-html

cppreference-doc-en-html 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 Devhelp book.

There are three methods to install cppreference-doc-en-html on Kali Linux. 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-html 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-html using apt-get by running the following command:

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

Install cppreference-doc-en-html Using apt

Update apt database with apt using the following command.

sudo apt update

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

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

Install cppreference-doc-en-html Using aptitude

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

sudo aptitude update

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

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

How To Uninstall cppreference-doc-en-html on Kali Linux

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

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

Uninstall cppreference-doc-en-html And Its Dependencies

To uninstall cppreference-doc-en-html and its dependencies that are no longer needed by Kali Linux, we can use the command below:

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

Remove cppreference-doc-en-html Configurations and Data

To remove cppreference-doc-en-html configuration and data from Kali Linux we can use the following command:

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

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

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

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

Dependencies

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

References

Summary

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