How To Install muParser on Fedora 34

muParser is A fast math parser library A fast math parser library

Introduction

In this tutorial we learn how to install muParser on Fedora 34.

What is muParser

Many applications require the parsing of mathematical expressions. The main objective of this project is to provide a fast and easy way of doing this. muParser is an extensible high performance math parser library. It is based on transforming an expression into a bytecode and precalculating constant parts of it. muParser 2.3.2 2.fc34 x86_64 155 k muParser-2.3.2-2.fc34.src.rpm fedora A fast math parser library http MIT Many applications require the parsing of mathematical expressions. The main objective of this project is to provide a fast and easy way of doing this. muParser is an extensible high performance math parser library. It is based on transforming an expression into a bytecode and precalculating constant parts of it.

We can use yum or dnf to install muParser on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install muParser.

Install muParser 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 muParser using dnf by running the following command:

sudo dnf -y install muParser

Install muParser 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 muParser using yum by running the following command:

sudo yum -y install muParser

How To Uninstall muParser on Fedora 34

To uninstall only the muParser package we can use the following command:

sudo dnf remove muParser

muParser Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/fc50ce45e3f65b7f268246180d669b6b2954a8
/usr/lib/libmuparser.so.2
/usr/lib/libmuparser.so.2.3.2
/usr/share/doc/muParser
/usr/share/doc/muParser/Changes.txt
/usr/share/doc/muParser/License.txt
/usr/lib/.build-id
/usr/lib/.build-id/df
/usr/lib/.build-id/df/04454f6772f2b9a088f739d2e1af45c323c09f
/usr/lib64/libmuparser.so.2
/usr/lib64/libmuparser.so.2.3.2
/usr/share/doc/muParser
/usr/share/doc/muParser/Changes.txt
/usr/share/doc/muParser/License.txt

References

Summary

In this tutorial we learn how to install muParser on Fedora 34 using yum and dnf.