How To Install texlive-mahjong on Fedora 36

In this tutorial we learn how to install texlive-mahjong in Fedora 36. texlive-mahjong is Typeset Mahjong Tiles using MPSZ Notation

Introduction

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

What is texlive-mahjong

The mahjong package provides a LaTeX2e and LaTeX3 interface for typesetting mahjong tiles using an extended version of MPSZ algebraic notation. Features include spaces, rotated, blank, and concealed tiles, as well as red fives. The size of the mahjong tiles can be controlled using a package option and an optional argument of \mahjong. It is primarily aimed at Riichi (aka. Japanese) Mahjong but can be used to typeset any style of mahjong.

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

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

sudo dnf -y install texlive-mahjong

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

sudo yum -y install texlive-mahjong

How To Uninstall texlive-mahjong on Fedora 36

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

sudo dnf remove texlive-mahjong

texlive-mahjong Package Contents on Fedora 36

/usr/share/texlive/texmf-dist/doc/latex/mahjong
/usr/share/texlive/texmf-dist/doc/latex/mahjong/LICENSE
/usr/share/texlive/texmf-dist/doc/latex/mahjong/README.md
/usr/share/texlive/texmf-dist/doc/latex/mahjong/mahjong-code.pdf
/usr/share/texlive/texmf-dist/doc/latex/mahjong/mahjong-code.tex
/usr/share/texlive/texmf-dist/doc/latex/mahjong/mahjong.pdf
/usr/share/texlive/texmf-dist/doc/latex/mahjong/mahjong.tex
/usr/share/texlive/texmf-dist/tex/latex/mahjong
/usr/share/texlive/texmf-dist/tex/latex/mahjong/mahjong.sty
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-0m.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-0p.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-0s.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-1m.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-1p.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-1s.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-1z.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-2m.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-2p.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-2s.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-2z.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-3m.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-3p.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-3s.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-3z.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-4m.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-4p.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-4s.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-4z.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-5m.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-5p.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-5s.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-5z.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-6m.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-6p.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-6s.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-6z.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-7m.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-7p.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-7s.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-7z.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-8m.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-8p.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-8s.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-9m.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-9p.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-9s.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-Back.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-Blank.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-Front.pdf
/usr/share/texlive/texmf-dist/tex/latex/mahjong/tiles/mahjong-Space.pdf

References

Summary

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