mccs command not found

In this troubleshooting guide we learn how to fix mccs command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

mccs: command not found

or when using sudo you get the following error message

sudo: mccs: command not found

Solutions to mccs: command not found

How To Fix mccs: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu mccs is provided by mccs package.

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.

To fix this problem, we can install more using the command below.

sudo apt-get -y install mccs

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install mccs.

sudo apt -y install mccs

Or if you have aptitude installed you can use the following command.

sudo aptitude install mccs

Summary

In this tutorial we learn how to fix mccs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.