How To Install texlive-extract on Fedora 36
Introduction
In this tutorial we learn how to install texlive-extract
on Fedora 36.
What is texlive-extract
The package provides the means to extract specific content from a source document and write that to a target document. One could, for instance, use this to extract all exercises from lecture notes and generate an exercises book on the fly. The package also provides an environment which writes its body entirely to the target file. Another environment will write to the target file, but will also execute the body. This allows to share code (for instance, a preamble) between the source document and the target file. Finally, the package provides an interface to conditionally extract content. With a single package option, one can specify exactly which commands (counted from the start of the document) should be extracted and which not. This might be useful for extracting specific slides from a presentation and use them in a new file.
We can use yum
or dnf
to install texlive-extract
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-extract.
Install texlive-extract 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-extract
using dnf
by running the following command:
sudo dnf -y install texlive-extract
Install texlive-extract 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-extract
using yum
by running the following command:
sudo yum -y install texlive-extract
How To Uninstall texlive-extract on Fedora 36
To uninstall only the texlive-extract
package we can use the following command:
sudo dnf remove texlive-extract
texlive-extract Package Contents on Fedora 36
/usr/share/licenses/texlive-extract
/usr/share/licenses/texlive-extract/lppl1.txt
/usr/share/texlive/texmf-dist/tex/latex/extract
/usr/share/texlive/texmf-dist/tex/latex/extract/extract.sty
References
Summary
In this tutorial we learn how to install texlive-extract
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).