How To Install texlive-texdef on Fedora 36
Introduction
In this tutorial we learn how to install texlive-texdef
on Fedora 36.
What is texlive-texdef
The (Perl) script displays the definition of (La)TeX command sequences/macros. Various options allow the selection of the used class and package files and other things which can have influence on the definition (before/after the preamble, inside an environment, …). The script creates a temporary TeX file which is then compiled using (La)TeX to find the ‘\meaning’ of the command sequence. The result is formatted and presented to the user. Length or number command sequences (dimensions, \char…, count registers, …) are recognized and the contained value is also shown (using \the). Special definitions like protected macros are also recognized and the underlying macros are shown as well. The script will show plain TeX definitions by default. LaTeX and ConTeXt are supported, including flavours (pdf(la)tex, lua(la)tex, xe(la)tex, …). The flavour can be selected using an command line option or over the script name
We can use yum
or dnf
to install texlive-texdef
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-texdef.
Install texlive-texdef 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-texdef
using dnf
by running the following command:
sudo dnf -y install texlive-texdef
Install texlive-texdef 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-texdef
using yum
by running the following command:
sudo yum -y install texlive-texdef
How To Uninstall texlive-texdef on Fedora 36
To uninstall only the texlive-texdef
package we can use the following command:
sudo dnf remove texlive-texdef
texlive-texdef Package Contents on Fedora 36
/usr/bin/latexdef
/usr/bin/texdef
/usr/share/licenses/texlive-texdef
/usr/share/licenses/texlive-texdef/gpl3.txt
/usr/share/texlive/texmf-dist/doc/support/texdef
/usr/share/texlive/texmf-dist/doc/support/texdef/CHANGELOG
/usr/share/texlive/texmf-dist/doc/support/texdef/INSTALL
/usr/share/texlive/texmf-dist/doc/support/texdef/README
/usr/share/texlive/texmf-dist/doc/support/texdef/texdef.pdf
/usr/share/texlive/texmf-dist/scripts/texdef
/usr/share/texlive/texmf-dist/scripts/texdef/texdef.pl
References
Summary
In this tutorial we learn how to install texlive-texdef
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).