How To Install texlive-piano on Fedora 36

In this tutorial we learn how to install texlive-piano in Fedora 36. texlive-piano is Typeset a basic 2-octave piano diagram

Introduction

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

What is texlive-piano

This package adds the \keyboard[1][2]..[7] command to your project. When used, it draws a small 2 octaves piano keyboard on your document, with up to 7 keys highlighted. Keys go Cso, Do, Dso, Eo, Fo, Fso, Go, Gso, Ao, Aso, Bo, Ct, Cst, Dt, Dst, Et, Ft, Fst, Gt, Gst, At, Ast and Bt. (A working example is included in the README file.)

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

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

sudo dnf -y install texlive-piano

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

sudo yum -y install texlive-piano

How To Uninstall texlive-piano on Fedora 36

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

sudo dnf remove texlive-piano

texlive-piano Package Contents on Fedora 36

/usr/share/licenses/texlive-piano
/usr/share/licenses/texlive-piano/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/piano
/usr/share/texlive/texmf-dist/tex/latex/piano/piano.sty

References

Summary

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