How To Install texlive-shtthesis on Fedora 36

In this tutorial we learn how to install texlive-shtthesis in Fedora 36. texlive-shtthesis is An unofficial LaTeX thesis template for ShanghaiTech University

Introduction

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

What is texlive-shtthesis

This package, forked from ucasthesis, is an unofficial LaTeX thesis template for ShanghaiTech University and satisfies all format requirements of the school. The user just needs to set \documentclass{shtthesis} and to set up mandatory information via \shtsetup, then his or her thesis document will be typeset properly.

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

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

sudo dnf -y install texlive-shtthesis

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

sudo yum -y install texlive-shtthesis

How To Uninstall texlive-shtthesis on Fedora 36

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

sudo dnf remove texlive-shtthesis

texlive-shtthesis Package Contents on Fedora 36

/usr/share/licenses/texlive-shtthesis
/usr/share/licenses/texlive-shtthesis/gpl3.txt
/usr/share/texlive/texmf-dist/doc/latex/shtthesis
/usr/share/texlive/texmf-dist/doc/latex/shtthesis/CHANGELOG.md
/usr/share/texlive/texmf-dist/doc/latex/shtthesis/LICENSE
/usr/share/texlive/texmf-dist/doc/latex/shtthesis/README.md
/usr/share/texlive/texmf-dist/doc/latex/shtthesis/shtthesis-user-guide.pdf
/usr/share/texlive/texmf-dist/doc/latex/shtthesis/shtthesis-user-guide.tex
/usr/share/texlive/texmf-dist/tex/latex/shtthesis
/usr/share/texlive/texmf-dist/tex/latex/shtthesis/shtthesis.cls

References

Summary

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