How To Install fparser on Fedora 34
Introduction
In this tutorial we learn how to install fparser
on Fedora 34.
What is fparser
This C++ library offers a class which can be used to parse and evaluate a mathematical function from a string (which might be for example requested from the user). The syntax of the function string is similar to mathematical expressions written in C/C++. fparser 4.5.2 14.fc34 x86_64 165 k fparser-4.5.2-14.fc34.src.rpm fedora Function parser library for C++ http LGPLv3 This C++ library offers a class which can be used to parse and evaluate a mathematical function from a string (which might be for example requested from the user). The syntax of the function string is similar to mathematical expressions written in C/C++.
We can use yum
or dnf
to install fparser
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install fparser.
Install fparser 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 fparser
using dnf
by running the following command:
sudo dnf -y install fparser
Install fparser 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 fparser
using yum
by running the following command:
sudo yum -y install fparser
How To Uninstall fparser on Fedora 34
To uninstall only the fparser
package we can use the following command:
sudo dnf remove fparser
fparser Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/49
/usr/lib/.build-id/49/70d914a0d0b9abef6544d6d98fef0c900daf11
/usr/lib/libfparser-4.5.so
/usr/share/doc/fparser
/usr/share/doc/fparser/gpl.txt
/usr/share/doc/fparser/lgpl.txt
/usr/lib/.build-id
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/59196069ff3e8bca211fbdf358d460fe9a8a8b
/usr/lib64/libfparser-4.5.so
/usr/share/doc/fparser
/usr/share/doc/fparser/gpl.txt
/usr/share/doc/fparser/lgpl.txt
References
- [fparser website](http://warp.povusers.org/FunctionParser/ http://warp.povusers.org/FunctionParser/)
Summary
In this tutorial we learn how to install fparser
on Fedora 34 using yum and dnf.