How To Install texlive-pwebmac on Fedora 36
Introduction
In this tutorial we learn how to install texlive-pwebmac
on Fedora 36.
What is texlive-pwebmac
The original WEB system by Donald Knuth has the macros webmac.tex that produce DVI output only; for historic reasons, it will never be modified (apart from catastrophic errors). Han The Thanh has modified these macros in his pdfwebmac.tex for PDF output (only) with pdfTeX. Jonathan Kew’s XeTeX has similar macros xewebmac.tex by Khaled Hosny that modify webmac.tex for PDF output; these macros can only be used with a specific “TeX engine” each. The present pwebmac package integrates these three WEB macro files similar to cwebmac.tex in Silvio Levy’s and Don Knuth’s CWEB system, so pwebmac.tex can be used with “plain TeX”, pdfTeX, and XeTeX alike. Its initial application is the production of PDF files for all major WEB programs for “TeX and friends” as distributed in TeX Live. For this purpose, the shell script makeall was whipped together; it provides various commandline options and works around several “quirks” in the WEB sources. WEB programmers who want to use pwebmac.tex instead of the default webmac.tex in their programs have to change the first line in the TeX file created by weave. From there, all depends on the “TeX engine” you use.
We can use yum
or dnf
to install texlive-pwebmac
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install texlive-pwebmac.
Install texlive-pwebmac 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-pwebmac
using dnf
by running the following command:
sudo dnf -y install texlive-pwebmac
Install texlive-pwebmac 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-pwebmac
using yum
by running the following command:
sudo yum -y install texlive-pwebmac
How To Uninstall texlive-pwebmac on Fedora 36
To uninstall only the texlive-pwebmac
package we can use the following command:
sudo dnf remove texlive-pwebmac
texlive-pwebmac Package Contents on Fedora 36
/usr/share/licenses/texlive-pwebmac
/usr/share/licenses/texlive-pwebmac/pd.txt
/usr/share/texlive/texmf-dist/doc/plain/pwebmac
/usr/share/texlive/texmf-dist/doc/plain/pwebmac/README.md
/usr/share/texlive/texmf-dist/doc/plain/pwebmac/Xerrorlog.tex
/usr/share/texlive/texmf-dist/doc/plain/pwebmac/index.md
/usr/share/texlive/texmf-dist/doc/plain/pwebmac/makeall
/usr/share/texlive/texmf-dist/doc/plain/pwebmac/trapman.ch
/usr/share/texlive/texmf-dist/doc/plain/pwebmac/webman.ch
/usr/share/texlive/texmf-dist/tex/plain/pwebmac
/usr/share/texlive/texmf-dist/tex/plain/pwebmac/pwebmac.tex
References
Summary
In this tutorial we learn how to install texlive-pwebmac
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).