How To Install lpsolve on Fedora 36
Introduction
In this tutorial we learn how to install lpsolve
on Fedora 36.
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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lpsolve.
Install lpsolve on Fedora 36 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 Fedora 36 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 Fedora 36
To uninstall only the lpsolve
package we can use the following command:
sudo dnf remove lpsolve
lpsolve Package Contents on Fedora 36
---
title: "How To Install lpsolve on Fedora 36"
linkTitle: "lpsolve"
type: "docs"
description: "In this tutorial we learn how to install lpsolve in Fedora 36. lpsolve is A Mixed Integer Linear Programming (MILP) solver"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/lpsolve-featured.png
---
## Introduction
In this tutorial we learn how to install `lpsolve` on Fedora 36.
### 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 Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lpsolve.
## Install lpsolve on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
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 Fedora 36 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 Fedora 36
To uninstall only the lpsolve
package we can use the following command:
sudo dnf remove lpsolve
lpsolve Package Contents on Fedora 36
/usr/bin/lp_solve
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/56a32a146f252129802bd46934b3fe98c47dae
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/760b32e3f4f046c637c9d33f323be3b04f5173
/usr/lib/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 Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/bin/lp_solve /usr/lib/.build-id /usr/lib/.build-id/6d /usr/lib/.build-id/6d/285ce41335249aa71de6c63467d18c53a5a747 /usr/lib/.build-id/d2 /usr/lib/.build-id/d2/e7d76f21b56a6f7f59b4c096a4186a992cc841 /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
* [lpsolve website](http://sourceforge.net/projects/lpsolve)
## Summary
In this tutorial we learn how to install `lpsolve` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).