How To Install texlive-attachfile2 on Fedora 36

In this tutorial we learn how to install texlive-attachfile2 in Fedora 36. texlive-attachfile2 is Attach files into PDF

Introduction

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

What is texlive-attachfile2

This package can be used to attach files to a PDF document. It is a further development of Scott Pakin’s package attachfile for pdfTeX. Apart from bug fixes, this package adds support for dvips, some new options, and gets and writes meta information data about the attached files.

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

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

sudo dnf -y install texlive-attachfile2

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

sudo yum -y install texlive-attachfile2

How To Uninstall texlive-attachfile2 on Fedora 36

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

sudo dnf remove texlive-attachfile2

texlive-attachfile2 Package Contents on Fedora 36

/usr/bin/pdfatfi
/usr/share/licenses/texlive-attachfile2
/usr/share/licenses/texlive-attachfile2/lppl1.3.txt
/usr/share/man/man1/pdfatfi.1.gz
/usr/share/texlive/texmf-dist/doc/latex/attachfile2
/usr/share/texlive/texmf-dist/doc/latex/attachfile2/README.md
/usr/share/texlive/texmf-dist/doc/latex/attachfile2/attachfile2.pdf
/usr/share/texlive/texmf-dist/scripts/attachfile2
/usr/share/texlive/texmf-dist/scripts/attachfile2/pdfatfi.pl
/usr/share/texlive/texmf-dist/tex/latex/attachfile2
/usr/share/texlive/texmf-dist/tex/latex/attachfile2/atfi-dvipdfmx.def
/usr/share/texlive/texmf-dist/tex/latex/attachfile2/atfi-dvips.def
/usr/share/texlive/texmf-dist/tex/latex/attachfile2/atfi-luatex.def
/usr/share/texlive/texmf-dist/tex/latex/attachfile2/atfi-pdftex.def
/usr/share/texlive/texmf-dist/tex/latex/attachfile2/attachfile2.sty

References

Summary

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