How To Install lpsolve on Rocky Linux 8
Introduction
In this tutorial we learn how to install lpsolve
on Rocky Linux 8.
What is lpsolve
Mixed Integer Linear Programming (MILP) solver lpsolve solves pure linear, (mixed) integer/binary, semi-continuous and special ordered sets (SOS) models.
We can use yum
or dnf
to install lpsolve
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install lpsolve.
Install lpsolve on Rocky Linux 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install lpsolve
using dnf
by running the following command:
sudo dnf -y install lpsolve
Install lpsolve on Rocky Linux 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install lpsolve
using yum
by running the following command:
sudo yum -y install lpsolve
How To Uninstall lpsolve on Rocky Linux 8
To uninstall only the lpsolve
package we can use the following command:
sudo dnf remove lpsolve
lpsolve Package Contents on Rocky Linux 8
/usr/bin/lp_solve
/usr/lib/.build-id
/usr/lib/.build-id/69
/usr/lib/.build-id/69/c2699f68905bde9be01e80214e40c8d1dbc6d1
/usr/lib/.build-id/91
/usr/lib/.build-id/91/6b4150c08151d9f363f20c7eff1f7135c3646e
/usr/lib64/liblpsolve55.so
/usr/share/doc/lpsolve
/usr/share/doc/lpsolve/LUSOL-overview.txt
/usr/share/doc/lpsolve/LUSOL_LGPL.txt
/usr/share/doc/lpsolve/LUSOL_README.txt
/usr/share/doc/lpsolve/README.txt
References
Summary
In this tutorial we learn how to install lpsolve
on Rocky Linux 8 using yum and dnf.