How To Install texlive-ptex2pdf on Fedora 36

In this tutorial we learn how to install texlive-ptex2pdf in Fedora 36. texlive-ptex2pdf is Convert Japanese TeX documents to PDF

Introduction

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

What is texlive-ptex2pdf

The Lua script provides system-independent support of Japanese typesetting engines in TeXworks. As TeXworks typesetting setup does not allow for multistep processing, this script runs one of the ptex-based programs (ptex, uptex, eptex, platex, uplatex) followed by dvipdfmx.

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

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

sudo dnf -y install texlive-ptex2pdf

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

sudo yum -y install texlive-ptex2pdf

How To Uninstall texlive-ptex2pdf on Fedora 36

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

sudo dnf remove texlive-ptex2pdf

texlive-ptex2pdf Package Contents on Fedora 36

/usr/bin/ptex2pdf
/usr/share/licenses/texlive-ptex2pdf
/usr/share/licenses/texlive-ptex2pdf/gpl2.txt
/usr/share/texlive/texmf-dist/doc/latex/ptex2pdf
/usr/share/texlive/texmf-dist/doc/latex/ptex2pdf/COPYING
/usr/share/texlive/texmf-dist/doc/latex/ptex2pdf/README.md
/usr/share/texlive/texmf-dist/scripts/ptex2pdf
/usr/share/texlive/texmf-dist/scripts/ptex2pdf/ptex2pdf.lua
/usr/share/texlive/tlpkg/tlpostcode/ptex2pdf-tlpost.pl

References

Summary

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