How To Install texlive-splines on Fedora 36

In this tutorial we learn how to install texlive-splines in Fedora 36. texlive-splines is MetaPost macros for drawing cubic spline interpolants

Introduction

In this tutorial we learn how to install texlive-splines on Fedora 36.

What is texlive-splines

This is a small package of macros for creating cubic spline interpolants in MetaPost or Metafont. Given a list of points the macros can produce a closed or a relaxed spline joining them. Given a list of function values y_j at x_j, the result would define the graph of a cubic spline interpolating function y=f(x), which is either periodic or relaxed.

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

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

sudo dnf -y install texlive-splines

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

sudo yum -y install texlive-splines

How To Uninstall texlive-splines on Fedora 36

To uninstall only the texlive-splines package we can use the following command:

sudo dnf remove texlive-splines

texlive-splines Package Contents on Fedora 36

/usr/share/licenses/texlive-splines
/usr/share/licenses/texlive-splines/lppl1.3.txt
/usr/share/texlive/texmf-dist/metapost/splines
/usr/share/texlive/texmf-dist/metapost/splines/splines.mp
/usr/share/texlive/texmf-dist/metapost/splines/testsplines.mp

References

Summary

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