clp command not found

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

Introduction

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

clp: command not found

or when using sudo you get the following error message

sudo: clp: command not found

Solutions to clp: command not found

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

In Ubuntu clp is provided by coinor-clp package.

coinor-clp is:

Clp (Coin-or linear programming) is an open-source linear programming solver written in C++. It is primarily meant to be used as a callable library, but a basic, stand-alone executable version is also available. It is designed to find solutions of constrained linear mathematical optimization problems.

This package contains the clp executable.

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

sudo apt-get -y install coinor-clp

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

You can also use apt command to install coinor-clp.

sudo apt -y install coinor-clp

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

sudo aptitude install coinor-clp

Summary

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