How To Install texlive-svg on Fedora 36

In this tutorial we learn how to install texlive-svg in Fedora 36. texlive-svg is Include and extract SVG pictures using Inkscape

Introduction

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

What is texlive-svg

This bundle contains the two packages svg and svg-extract. The svg package is intended for the automated integration of SVG graphics into LaTeX documents. Therefore the capabilities provided by Inkscape – or more precisely its command line tool – are used to export the text within an SVG graphic to a separate file, which is then rendered by LaTeX. For this purpose the two commands \includesvg and \includeinkscape are provided which are very similar to the \includegraphics command of the graphicx package. In addition, the package svg-extract allows the extraction of these graphics into independent files in different graphic formats, exactly as it is rendered within the LaTeX document, using either ImageMagick or Ghostscript.

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

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

sudo dnf -y install texlive-svg

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

sudo yum -y install texlive-svg

How To Uninstall texlive-svg on Fedora 36

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

sudo dnf remove texlive-svg

texlive-svg Package Contents on Fedora 36

/usr/share/licenses/texlive-svg
/usr/share/licenses/texlive-svg/lppl1.3.txt
/usr/share/texlive/texmf-dist/tex/latex/svg
/usr/share/texlive/texmf-dist/tex/latex/svg/svg-extract.sty
/usr/share/texlive/texmf-dist/tex/latex/svg/svg.sty

References

Summary

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