How To Install mccs on Kali Linux
Introduction
In this tutorial we learn how to install mccs on Kali Linux.
What is mccs
mccs is:
mccs is a solver for package dependencies expressed in the CUDF format. It takes as input a CUDF problem and computes the best solution according to a combination of optimization criteria chosen by the user. Basic criteria to be maximized or minimized may be selected from a list of pre-defined criteria, and these can be combined using various aggregation operators. It relies on an Integer Programming solver or a Pseudo Boolean solver to achieve its task. The version of mccs distributed with this package can be used together with two different solving engines available in Debian, that is lpsolve or cbc. Furthermore, mccs may also be used together with other solvers like Cplex, Gurobi, Glpk, SCIP or WBO.
There are three methods to install mccs 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 mccs Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install mccs using apt-get by running the following command:
sudo apt-get -y install mccsInstall mccs Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install mccs using apt by running the following command:
sudo apt -y install mccsInstall mccs 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 mccs using aptitude by running the following command:
sudo aptitude -y install mccsHow To Uninstall mccs on Kali Linux
To uninstall only the mccs package we can use the following command:
sudo apt-get remove mccsUninstall mccs And Its Dependencies
To uninstall mccs and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove mccsRemove mccs Configurations and Data
To remove mccs configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge mccsRemove mccs configuration, data, and all of its dependencies
We can use the following command to remove mccs configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mccsDependencies
mccs have the following dependencies:
References
Summary
In this tutorial we learn how to install mccs package on Kali Linux using different package management tools: apt, apt-get and aptitude.