How To Install ycm-cmake-modules on Kali Linux
Introduction
In this tutorial we learn how to install ycm-cmake-modules on Kali Linux.
What is ycm-cmake-modules
ycm-cmake-modules is:
The package YCM contains a set of CMake files that support creation and maintenance of repositories and software packages. YCM has been written with the aim of solving some of the problems encountered while managing large research projects but it can be used outside it initial context.
YCM is not a replacement to CMake or yet another build system. YCM is just a thin layer over CMake. It does not add extra dependencies like other build systems, it does not use Python, Ruby, or other scripting languages, it is written using CMake language. It is a collection of CMake modules, most of them candidate for being contributed upstream.
There are three methods to install ycm-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 ycm-cmake-modules Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ycm-cmake-modules using apt-get by running the following command:
sudo apt-get -y install ycm-cmake-modulesInstall ycm-cmake-modules Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ycm-cmake-modules using apt by running the following command:
sudo apt -y install ycm-cmake-modulesInstall ycm-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 updateAfter updating apt database, We can install ycm-cmake-modules using aptitude by running the following command:
sudo aptitude -y install ycm-cmake-modulesHow To Uninstall ycm-cmake-modules on Kali Linux
To uninstall only the ycm-cmake-modules package we can use the following command:
sudo apt-get remove ycm-cmake-modulesUninstall ycm-cmake-modules And Its Dependencies
To uninstall ycm-cmake-modules and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ycm-cmake-modulesRemove ycm-cmake-modules Configurations and Data
To remove ycm-cmake-modules configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ycm-cmake-modulesRemove ycm-cmake-modules configuration, data, and all of its dependencies
We can use the following command to remove ycm-cmake-modules configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ycm-cmake-modulesDependencies
ycm-cmake-modules have the following dependencies:
References
Summary
In this tutorial we learn how to install ycm-cmake-modules package on Kali Linux using different package management tools: apt, apt-get and aptitude.