How To Install texlive-pdftex on CentOS 8

texlive-pdftex is A TeX extension for direct creation of PDF

Introduction

In this tutorial we learn how to install texlive-pdftex on CentOS 8.

What is texlive-pdftex

An extension of TeX which can be configured to directly generate PDF documents instead of DVI. All current free TeX distributionsm including TeX live, MacTeX and MiKTeX include pdfTeX (Plain TeX) and pdfLaTeX (LaTeX). ConTeXt was designed around use of pdfTeX (though it is now migrating towards LuaTeX).

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

Install texlive-pdftex on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install texlive-pdftex using dnf by running the following command:

sudo dnf -y install texlive-pdftex

Install texlive-pdftex on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install texlive-pdftex using yum by running the following command:

sudo yum -y install texlive-pdftex

How To Uninstall texlive-pdftex on CentOS 8

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

sudo dnf remove texlive-pdftex

texlive-pdftex Package Contents on CentOS 8

/usr/bin/etex
/usr/bin/pdfetex
/usr/bin/pdftex
/usr/bin/simpdftex
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/2f8e8098a95a6587f8460961dedbe005a52d67
/usr/share/licenses/texlive-pdftex
/usr/share/licenses/texlive-pdftex/gpl.txt
/usr/share/man/man1/pdfetex.1.gz
/usr/share/man/man1/pdftex.1.gz
/usr/share/texlive/texmf-dist/doc/pdftex
/usr/share/texlive/texmf-dist/doc/pdftex/NEWS
/usr/share/texlive/texmf-dist/doc/pdftex/README
/usr/share/texlive/texmf-dist/doc/pdftex/manual
/usr/share/texlive/texmf-dist/doc/pdftex/manual/ChangeLog
/usr/share/texlive/texmf-dist/doc/pdftex/manual/Makefile
/usr/share/texlive/texmf-dist/doc/pdftex/manual/README
/usr/share/texlive/texmf-dist/doc/pdftex/manual/makefiles.cmd
/usr/share/texlive/texmf-dist/doc/pdftex/manual/pdftex-a.pdf
/usr/share/texlive/texmf-dist/doc/pdftex/manual/pdftex-i.tex
/usr/share/texlive/texmf-dist/doc/pdftex/manual/pdftex-syntax.txt
/usr/share/texlive/texmf-dist/doc/pdftex/manual/pdftex-t.tex
/usr/share/texlive/texmf-dist/doc/pdftex/manual/pdftex-w.tex
/usr/share/texlive/texmf-dist/doc/pdftex/manual/syntaxform.awk
/usr/share/texlive/texmf-dist/doc/pdftex/manual/syntaxform.pl
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/cmr10.103
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/obj.dat
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/pdfcolor.tex
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/pic.eps
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/pic.jpg
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/pic.mps
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/pic.pdf
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/pic.png
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/pic16.png
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/rgb.icc
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/samplepdf.0
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/samplepdf.1
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/samplepdf.tex
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/supp-mis.tex
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/supp-pdf.tex
/usr/share/texlive/texmf-dist/doc/pdftex/samplepdftex/tmp.pdf
/usr/share/texlive/texmf-dist/doc/pdftex/tests
/usr/share/texlive/texmf-dist/doc/pdftex/tests/01-fake-interword-space
/usr/share/texlive/texmf-dist/doc/pdftex/tests/01-fake-interword-space/Makefile
/usr/share/texlive/texmf-dist/doc/pdftex/tests/01-fake-interword-space/dummy-space.pfb
/usr/share/texlive/texmf-dist/doc/pdftex/tests/01-fake-interword-space/dummy-space.tfm
/usr/share/texlive/texmf-dist/doc/pdftex/tests/01-fake-interword-space/fake-interword-space.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/02-pdfmatch
/usr/share/texlive/texmf-dist/doc/pdftex/tests/02-pdfmatch/Makefile
/usr/share/texlive/texmf-dist/doc/pdftex/tests/02-pdfmatch/test-pdfmatch.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/03-deterministic-output
/usr/share/texlive/texmf-dist/doc/pdftex/tests/03-deterministic-output/Makefile
/usr/share/texlive/texmf-dist/doc/pdftex/tests/03-deterministic-output/test-SOURCE_DATE_EPOCH.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/03-deterministic-output/test-fixed-date-id.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/03-deterministic-output/test-no-date-id.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/03-deterministic-output/test-prim.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/04-pdfsuppressptexinfo
/usr/share/texlive/texmf-dist/doc/pdftex/tests/04-pdfsuppressptexinfo/Makefile
/usr/share/texlive/texmf-dist/doc/pdftex/tests/04-pdfsuppressptexinfo/abc.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/04-pdfsuppressptexinfo/test-pdfinfoomitdate.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/04-pdfsuppressptexinfo/test-pdfsuppressptexinfo.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/04-pdfsuppressptexinfo/test-pdftrailer.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/05-mediabox
/usr/share/texlive/texmf-dist/doc/pdftex/tests/05-mediabox/Makefile
/usr/share/texlive/texmf-dist/doc/pdftex/tests/05-mediabox/test-normal.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/05-mediabox/test-omit-mediabox.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/06-pkmap
/usr/share/texlive/texmf-dist/doc/pdftex/tests/06-pkmap/Makefile
/usr/share/texlive/texmf-dist/doc/pdftex/tests/06-pkmap/cmb10.72pk
/usr/share/texlive/texmf-dist/doc/pdftex/tests/06-pkmap/cmr10.72pk
/usr/share/texlive/texmf-dist/doc/pdftex/tests/06-pkmap/prepatch.pdf
/usr/share/texlive/texmf-dist/doc/pdftex/tests/06-pkmap/test-pkmap.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/07-mapwarn
/usr/share/texlive/texmf-dist/doc/pdftex/tests/07-mapwarn/Makefile
/usr/share/texlive/texmf-dist/doc/pdftex/tests/07-mapwarn/test-mapwarn.tex
/usr/share/texlive/texmf-dist/doc/pdftex/tests/Common.mak
/usr/share/texlive/texmf-dist/fonts/map/dvips/dummy-space/dummy-space.map
/usr/share/texlive/texmf-dist/fonts/tfm/public/pdftex
/usr/share/texlive/texmf-dist/fonts/tfm/public/pdftex/dummy-space.tfm
/usr/share/texlive/texmf-dist/fonts/type1/public/pdftex
/usr/share/texlive/texmf-dist/fonts/type1/public/pdftex/dummy-space.pfb
/usr/share/texlive/texmf-dist/scripts/simpdftex/simpdftex
/usr/share/texlive/texmf-dist/tex/generic/config/pdftex-dvi.tex
/usr/share/texlive/texmf-dist/tex/generic/pdftex
/usr/share/texlive/texmf-dist/tex/generic/pdftex/glyphtounicode.tex
/usr/share/texlive/texmf-dist/tex/generic/pdftex/pdfcolor.tex

References

Summary

In this tutorial we learn how to install texlive-pdftex on CentOS 8 using yum and dnf.