How To Install libcpptest-dev on Kali Linux
Introduction
In this tutorial we learn how to install libcpptest-dev on Kali Linux.
What is libcpptest-dev
libcpptest-dev is:
CppTest is a portable and powerful, yet simple, unit testing framework for handling automated tests in C++. The focus lies on usability and extensibility. Several output formats, including simple text output, compiler-like output and HTML, are supported and new ones are easily added.
This package contains the development libraries and headers.
There are three methods to install libcpptest-dev 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 libcpptest-dev Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libcpptest-dev using apt-get by running the following command:
sudo apt-get -y install libcpptest-devInstall libcpptest-dev Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libcpptest-dev using apt by running the following command:
sudo apt -y install libcpptest-devInstall libcpptest-dev 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 updateAfter updating apt database, We can install libcpptest-dev using aptitude by running the following command:
sudo aptitude -y install libcpptest-devHow To Uninstall libcpptest-dev on Kali Linux
To uninstall only the libcpptest-dev package we can use the following command:
sudo apt-get remove libcpptest-devUninstall libcpptest-dev And Its Dependencies
To uninstall libcpptest-dev and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libcpptest-devRemove libcpptest-dev Configurations and Data
To remove libcpptest-dev configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libcpptest-devRemove libcpptest-dev configuration, data, and all of its dependencies
We can use the following command to remove libcpptest-dev configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libcpptest-devDependencies
libcpptest-dev have the following dependencies:
References
Summary
In this tutorial we learn how to install libcpptest-dev package on Kali Linux using different package management tools: apt, apt-get and aptitude.