How To Install texlive-quantikz on Fedora 36

In this tutorial we learn how to install texlive-quantikz in Fedora 36. texlive-quantikz is Draw quantum circuit diagrams

Introduction

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

What is texlive-quantikz

The purpose of this package is to extend TikZ with the functionality for drawing quantum circuit diagrams.

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

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

sudo dnf -y install texlive-quantikz

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

sudo yum -y install texlive-quantikz

How To Uninstall texlive-quantikz on Fedora 36

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

sudo dnf remove texlive-quantikz

texlive-quantikz Package Contents on Fedora 36

/usr/share/texlive/texmf-dist/doc/latex/quantikz
/usr/share/texlive/texmf-dist/doc/latex/quantikz/README.md
/usr/share/texlive/texmf-dist/doc/latex/quantikz/quantikz.pdf
/usr/share/texlive/texmf-dist/doc/latex/quantikz/quantikz.tex
/usr/share/texlive/texmf-dist/tex/latex/quantikz
/usr/share/texlive/texmf-dist/tex/latex/quantikz/quantikz.sty
/usr/share/texlive/texmf-dist/tex/latex/quantikz/tikzlibraryquantikz.code.tex

References

Summary

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