How To Install NLopt on Fedora 36
Introduction
In this tutorial we learn how to install NLopt
on Fedora 36.
What is NLopt
NLopt is a library for nonlinear local and global optimization, for functions with and without gradient information. It is designed as as simple, unified interface and packaging of several free/open-source nonlinear optimization libraries. It features bindings for GNU Guile, Octave and Python. This build has been made with C++-support enabled.
We can use yum
or dnf
to install NLopt
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install NLopt.
Install NLopt 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 NLopt
using dnf
by running the following command:
sudo dnf -y install NLopt
Install NLopt 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 NLopt
using yum
by running the following command:
sudo yum -y install NLopt
How To Uninstall NLopt on Fedora 36
To uninstall only the NLopt
package we can use the following command:
sudo dnf remove NLopt
NLopt Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/880df5955cea11e23a06432347dfc3ecf004e0
/usr/lib64/libnlopt.so.0
/usr/lib64/libnlopt.so.0.11.1
/usr/share/doc/NLopt
/usr/share/doc/NLopt/ChangeLog
/usr/share/doc/NLopt/NEWS.md
/usr/share/licenses/NLopt
/usr/share/licenses/NLopt/COPYING
/usr/share/licenses/NLopt/COPYING.src_algs_direct
/usr/share/licenses/NLopt/COPYRIGHT
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_ags
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_bobyqa
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_cobyla
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_esch
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_luksan
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_newuoa
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_slsqp
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_stogo
References
Summary
In this tutorial we learn how to install NLopt
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install NLopt on Fedora 36” linkTitle: “NLopt” type: “docs” description: “In this tutorial we learn how to install NLopt in Fedora 36. NLopt is Open-Source library for nonlinear optimization” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/NLopt-featured.png
Introduction
In this tutorial we learn how to install NLopt
on Fedora 36.
What is NLopt
NLopt is a library for nonlinear local and global optimization, for functions with and without gradient information. It is designed as as simple, unified interface and packaging of several free/open-source nonlinear optimization libraries. It features bindings for GNU Guile, Octave and Python. This build has been made with C++-support enabled.
We can use yum
or dnf
to install NLopt
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install NLopt.
Install NLopt 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 NLopt
using dnf
by running the following command:
sudo dnf -y install NLopt
Install NLopt 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 NLopt
using yum
by running the following command:
sudo yum -y install NLopt
How To Uninstall NLopt on Fedora 36
To uninstall only the NLopt
package we can use the following command:
sudo dnf remove NLopt
NLopt Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/ea73f2f4ea4e21c727aadb3b4ecfce7222d3dc
/usr/lib/libnlopt.so.0
/usr/lib/libnlopt.so.0.11.1
/usr/share/doc/NLopt
/usr/share/doc/NLopt/ChangeLog
/usr/share/doc/NLopt/NEWS.md
/usr/share/licenses/NLopt
/usr/share/licenses/NLopt/COPYING
/usr/share/licenses/NLopt/COPYING.src_algs_direct
/usr/share/licenses/NLopt/COPYRIGHT
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_ags
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_bobyqa
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_cobyla
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_esch
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_luksan
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_newuoa
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_slsqp
/usr/share/licenses/NLopt/COPYRIGHT.src_algs_stogo
References
Summary
In this tutorial we learn how to install NLopt
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).