How To Install texlive-mptrees on Fedora 36

In this tutorial we learn how to install texlive-mptrees in Fedora 36. texlive-mptrees is Probability trees with MetaPost

Introduction

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

What is texlive-mptrees

This package provides MetaPost tools for drawing simple probability trees. One command and several parameters to control the output are provided.

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

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

sudo dnf -y install texlive-mptrees

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

sudo yum -y install texlive-mptrees

How To Uninstall texlive-mptrees on Fedora 36

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

sudo dnf remove texlive-mptrees

texlive-mptrees Package Contents on Fedora 36

/usr/share/licenses/texlive-mptrees
/usr/share/licenses/texlive-mptrees/lppl.txt
/usr/share/texlive/texmf-dist/doc/metapost/mptrees
/usr/share/texlive/texmf-dist/doc/metapost/mptrees/README.md
/usr/share/texlive/texmf-dist/doc/metapost/mptrees/mptrees-doc.pdf
/usr/share/texlive/texmf-dist/doc/metapost/mptrees/mptrees-doc.tex
/usr/share/texlive/texmf-dist/metapost/mptrees
/usr/share/texlive/texmf-dist/metapost/mptrees/mptrees.mp

References

Summary

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