How To Install mathgl-mglview on Fedora 36

In this tutorial we learn how to install mathgl-mglview in Fedora 36. mathgl-mglview is Execute MathGL scripts and show in an window

Introduction

In this tutorial we learn how to install mathgl-mglview on Fedora 36.

What is mathgl-mglview

mglview reads MGL scripts from scriptfile to produce plots of specified functions or data. The program will create a GUI window showing the script result.

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

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

sudo dnf -y install mathgl-mglview

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

sudo yum -y install mathgl-mglview

How To Uninstall mathgl-mglview on Fedora 36

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

sudo dnf remove mathgl-mglview

mathgl-mglview Package Contents on Fedora 36

/usr/bin/mglview
/usr/lib/.build-id
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/fe323424eb137a3ed26551754eb84d8852ee41
/usr/share/man/man1/mglview.1.gz

References

Summary

In this tutorial we learn how to install mathgl-mglview on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).