How To Install R-lpSolve on Fedora 36
Introduction
In this tutorial we learn how to install R-lpSolve
on Fedora 36.
What is R-lpSolve
Lp_solve is freely available (under LGPL 2) software for solving linear, integer and mixed integer programs. In this implementation we supply a “wrapper” function in C and some R functions that solve general linear/integer problems, assignment problems, and transportation problems. This version calls lp_solve version 5.5.
We can use yum
or dnf
to install R-lpSolve
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install R-lpSolve.
Install R-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 R-lpSolve
using dnf
by running the following command:
sudo dnf -y install R-lpSolve
Install R-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 R-lpSolve
using yum
by running the following command:
sudo yum -y install R-lpSolve
How To Uninstall R-lpSolve on Fedora 36
To uninstall only the R-lpSolve
package we can use the following command:
sudo dnf remove R-lpSolve
R-lpSolve Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/0fa6859f736f219d8f69a63136a1559d952021
/usr/lib64/R/library/lpSolve
/usr/lib64/R/library/lpSolve/DESCRIPTION
/usr/lib64/R/library/lpSolve/INDEX
/usr/lib64/R/library/lpSolve/Meta
/usr/lib64/R/library/lpSolve/Meta/Rd.rds
/usr/lib64/R/library/lpSolve/Meta/features.rds
/usr/lib64/R/library/lpSolve/Meta/hsearch.rds
/usr/lib64/R/library/lpSolve/Meta/links.rds
/usr/lib64/R/library/lpSolve/Meta/nsInfo.rds
/usr/lib64/R/library/lpSolve/Meta/package.rds
/usr/lib64/R/library/lpSolve/NAMESPACE
/usr/lib64/R/library/lpSolve/R
/usr/lib64/R/library/lpSolve/R/lpSolve
/usr/lib64/R/library/lpSolve/R/lpSolve.rdb
/usr/lib64/R/library/lpSolve/R/lpSolve.rdx
/usr/lib64/R/library/lpSolve/help
/usr/lib64/R/library/lpSolve/help/8-queens+20problem.html
/usr/lib64/R/library/lpSolve/help/AnIndex
/usr/lib64/R/library/lpSolve/help/aliases.rds
/usr/lib64/R/library/lpSolve/help/lp.assign.html
/usr/lib64/R/library/lpSolve/help/lp.html
/usr/lib64/R/library/lpSolve/help/lp.object.html
/usr/lib64/R/library/lpSolve/help/lp.transport.html
/usr/lib64/R/library/lpSolve/help/lpSolve.rdb
/usr/lib64/R/library/lpSolve/help/lpSolve.rdx
/usr/lib64/R/library/lpSolve/help/make.q8.html
/usr/lib64/R/library/lpSolve/help/paths.rds
/usr/lib64/R/library/lpSolve/help/print.lp.html
/usr/lib64/R/library/lpSolve/html
/usr/lib64/R/library/lpSolve/html/00Index.html
/usr/lib64/R/library/lpSolve/html/R.css
/usr/lib64/R/library/lpSolve/html/lp.assign.html
/usr/lib64/R/library/lpSolve/html/lp.html
/usr/lib64/R/library/lpSolve/html/lp.object.html
/usr/lib64/R/library/lpSolve/html/lp.transport.html
/usr/lib64/R/library/lpSolve/html/make.q8.html
/usr/lib64/R/library/lpSolve/html/print.lp.html
/usr/lib64/R/library/lpSolve/libs
/usr/lib64/R/library/lpSolve/libs/lpSolve.so
References
Summary
In this tutorial we learn how to install R-lpSolve
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).