How To Install libmatheval on Fedora 34
Introduction
In this tutorial we learn how to install libmatheval
on Fedora 34.
What is libmatheval
GNU libmatheval is a library (callable from C and Fortran) to parse and evaluate symbolic expressions input as text. It supports expressions in any number of variables of arbitrary names, decimal and symbolic constants, basic unary and binary operators, and elementary mathematical functions. In addition to parsing and evaluation, libmatheval can also compute symbolic derivatives and output expressions to strings. libmatheval 1.1.11 15.fc34 x86_64 42 k libmatheval-1.1.11-15.fc34.src.rpm fedora Library for parsing and evaluating symbolic expressions input as text http GPLv3+ GNU libmatheval is a library (callable from C and Fortran) to parse and evaluate symbolic expressions input as text. It supports expressions in any number of variables of arbitrary names, decimal and symbolic constants, basic unary and binary operators, and elementary mathematical functions. In addition to parsing and evaluation, libmatheval can also compute symbolic derivatives and output expressions to strings.
We can use yum
or dnf
to install libmatheval
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libmatheval.
Install libmatheval on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libmatheval
using dnf
by running the following command:
sudo dnf -y install libmatheval
Install libmatheval on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libmatheval
using yum
by running the following command:
sudo yum -y install libmatheval
How To Uninstall libmatheval on Fedora 34
To uninstall only the libmatheval
package we can use the following command:
sudo dnf remove libmatheval
libmatheval Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/15
/usr/lib/.build-id/15/55e4e11e0129911515d34baae3fc47ff77106f
/usr/lib/libmatheval.so.1
/usr/lib/libmatheval.so.1.0.0
/usr/share/doc/libmatheval
/usr/share/doc/libmatheval/AUTHORS
/usr/share/doc/libmatheval/COPYING
/usr/share/doc/libmatheval/README
/usr/lib/.build-id
/usr/lib/.build-id/4d
/usr/lib/.build-id/4d/db5b4309870e8badbcbc09872da8ef7a8d7284
/usr/lib64/libmatheval.so.1
/usr/lib64/libmatheval.so.1.0.0
/usr/share/doc/libmatheval
/usr/share/doc/libmatheval/AUTHORS
/usr/share/doc/libmatheval/COPYING
/usr/share/doc/libmatheval/README
References
- [libmatheval website](http://www.gnu.org/software/libmatheval/ http://www.gnu.org/software/libmatheval/)
Summary
In this tutorial we learn how to install libmatheval
on Fedora 34 using yum and dnf.