How To Install mathgl on Fedora 34

mathgl is Cross-platform library for making high-quality scientific graphics Cross-platform library for making high-quality scientific graphics

Introduction

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

What is mathgl

Mathgl is a cross-platform library for making high-quality scientific graphics. It provides fast data plotting and handling of large data arrays, as well as window and console modes and for easy embedding into other programs. Mathgl integrates into fltk, qt and opengl applications mathgl 2.4.4 8.fc34 x86_64 1.2 M mathgl-2.4.4-8.fc34.src.rpm fedora Cross-platform library for making high-quality scientific graphics http GPLv2+ Mathgl is a cross-platform library for making high-quality scientific graphics. It provides fast data plotting and handling of large data arrays, as well as window and console modes and for easy embedding into other programs. Mathgl integrates into fltk, qt and opengl applications

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

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

sudo dnf -y install mathgl

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

sudo yum -y install mathgl

How To Uninstall mathgl on Fedora 34

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

sudo dnf remove mathgl

mathgl Package Contents on Fedora 34

/usr/bin/mglconv
/usr/bin/mgltask
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/74f240195a60a10b41140eb9151c010d0386bb
/usr/lib/.build-id/09
/usr/lib/.build-id/09/0b78c9707ba1daec5858dde7c661259d33924d
/usr/lib/.build-id/2a
/usr/lib/.build-id/2a/523a0a0e14dfb57e1796842608c9eda88a3b40
/usr/lib/.build-id/47
/usr/lib/.build-id/47/f2803bf0c50e5777d9473b7325345098eb9977
/usr/lib/.build-id/53
/usr/lib/.build-id/53/aaa23736d15d262003938c7d5fd64897817aaa
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/3f117aeec4529977a7d2441ba577c09977f759
/usr/lib/.build-id/69
/usr/lib/.build-id/69/c3e470cbeeaa29285fe913ad27f138910f6e15
/usr/lib/.build-id/72
/usr/lib/.build-id/72/c57dc7a11e32295cbd38fb5fb74cbea10966a5
/usr/lib/.build-id/9d
/usr/lib/.build-id/9d/ed715441a184445aebc93c1eee5e1c7baf90a9
/usr/lib64/libmgl.so.7.5.0
/usr/share/doc/mathgl
/usr/share/doc/mathgl/AUTHORS
/usr/share/doc/mathgl/COPYING
/usr/share/doc/mathgl/ChangeLog.txt
/usr/share/doc/mathgl/README
/usr/share/doc/mathgl/README_V2
/usr/share/locale/es/LC_MESSAGES/mathgl.mo
/usr/share/locale/ru/LC_MESSAGES/mathgl.mo
/usr/share/man/man1/mglconv.1.gz
/usr/bin/mglconv
/usr/bin/mgltask
/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/a243bbe4dfed2d0e4357376a57d3c9ebb94bf7
/usr/lib/.build-id/51
/usr/lib/.build-id/51/ed4a189f9847705cffb3371d13f48d4871fe76
/usr/lib/.build-id/76
/usr/lib/.build-id/76/19128a15e4886d894a44526183da24e95d57c9
/usr/lib/.build-id/77
/usr/lib/.build-id/77/027602bd45bd378dfd159f63c555cda0f9c410
/usr/lib/.build-id/80
/usr/lib/.build-id/80/8659578e45a5775657ec70f05e6c3cb22fd3e0
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/1fb57e005c695c46b88f41c91a016c1c3159b4
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/68f269b157beba69dafcd602b3ae90eae7e0a6
/usr/lib/.build-id/c4
/usr/lib/.build-id/c4/fbfa20053152c235323c258c88113f18960bb5
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/125dde4ec63c5c7a398771d98e75375072d175
/usr/lib/libmgl.so.7.5.0
/usr/share/doc/mathgl
/usr/share/doc/mathgl/AUTHORS
/usr/share/doc/mathgl/COPYING
/usr/share/doc/mathgl/ChangeLog.txt
/usr/share/doc/mathgl/README
/usr/share/doc/mathgl/README_V2
/usr/share/locale/es/LC_MESSAGES/mathgl.mo
/usr/share/locale/ru/LC_MESSAGES/mathgl.mo
/usr/share/man/man1/mglconv.1.gz

References

Summary

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