dimacs-to-lgf command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
dimacs-to-lgf: command not found
or when using sudo you get the following error message
sudo: dimacs-to-lgf: command not found
Solutions to dimacs-to-lgf: command not found
How To Fix dimacs-to-lgf: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu dimacs-to-lgf is provided by liblemon-utils package.
liblemon-utils is:
LEMON stands for Library for Efficient Modeling and Optimization in Networks. It is a C++ template library providing efficient implementations of common data structures and algorithms with focus on combinatorial optimization tasks connected mainly with graphs and networks.
LEMON is a member of the COIN-OR initiative, a collection of OR related open source projects.
This package contains the utilities accompanying the library.
To fix this problem, we can install more using the command below.
sudo apt-get -y install liblemon-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install liblemon-utils.
sudo apt -y install liblemon-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install liblemon-utils
Summary
In this tutorial we learn how to fix dimacs-to-lgf command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.