How To Install extra-cmake-modules on Kali Linux

In this tutorial we learn how to install extra-cmake-modules on Kali Linux. extra-cmake-modules is Extra modules and scripts for CMake

Introduction

In this tutorial we learn how to install extra-cmake-modules on Kali Linux.

What is extra-cmake-modules

extra-cmake-modules is:

Extra CMake Modules, or ECM, aims to augment CMake with additional modules. It serves as both a staging ground for new modules before they are moved upstream to CMake and a place for modules that, for whatever reason, are not a good fit for CMake itself.

It is primarily driven by the needs of the KDE community, but it is hoped that other projects will find it useful, and outside contributions are always welcome. The main rule for new modules is that there must be at least two downstream users.

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

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

sudo apt-get update

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

sudo apt-get -y install extra-cmake-modules

Install extra-cmake-modules Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install extra-cmake-modules using apt by running the following command:

sudo apt -y install extra-cmake-modules

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

sudo aptitude -y install extra-cmake-modules

How To Uninstall extra-cmake-modules on Kali Linux

To uninstall only the extra-cmake-modules package we can use the following command:

sudo apt-get remove extra-cmake-modules

Uninstall extra-cmake-modules And Its Dependencies

To uninstall extra-cmake-modules and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove extra-cmake-modules

Remove extra-cmake-modules Configurations and Data

To remove extra-cmake-modules configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge extra-cmake-modules

Remove extra-cmake-modules configuration, data, and all of its dependencies

We can use the following command to remove extra-cmake-modules configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge extra-cmake-modules

Dependencies

extra-cmake-modules have the following dependencies:

References

Summary

In this tutorial we learn how to install extra-cmake-modules package on Kali Linux using different package management tools: apt, apt-get and aptitude.