How To Install texlive-xpinyin on Fedora 36

In this tutorial we learn how to install texlive-xpinyin in Fedora 36. texlive-xpinyin is Automatically add pinyin to Chinese characters

Introduction

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

What is texlive-xpinyin

The package is written to simplify the input of Hanyu Pinyin. Macros are provided that automatically add pinyin to Chinese characters.

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

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

sudo dnf -y install texlive-xpinyin

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

sudo yum -y install texlive-xpinyin

How To Uninstall texlive-xpinyin on Fedora 36

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

sudo dnf remove texlive-xpinyin

texlive-xpinyin Package Contents on Fedora 36

/usr/share/licenses/texlive-xpinyin
/usr/share/licenses/texlive-xpinyin/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/xpinyin
/usr/share/texlive/texmf-dist/tex/latex/xpinyin/xpinyin-database.def
/usr/share/texlive/texmf-dist/tex/latex/xpinyin/xpinyin.sty

References

Summary

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