How To Install texlive-texosquery on Fedora 36

In this tutorial we learn how to install texlive-texosquery in Fedora 36. texlive-texosquery is Cross-platform Java application to query OS information

Introduction

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

What is texlive-texosquery

This package provides a cross-platform Java application to query OS information designed for use in TeX’s shell escape mechanism. The application can query the following codeset current working directory user home directory temporary directory OS name, arch and version Current date and time in PDF format (for TeX formats that don’t provide \pdfcreationdate) Date-time stamp of a file in PDF format (for TeX formats that don’t provide \pdffilemoddate) Size of a file in bytes (for TeX formats that don’t provide \pdffilesize) Contents of a directory (captured as a list) Directory contents filtered by regular expression (captured as a list) URI of a file Canonical path of a file All paths use a forward slash as directory divider so results can be used, for example, in commands like \includegraphics. There are files provided for easy access in TeX documents texosquery.sty texosquery using TeX’s shell escape mechanism and capture the result in a control sequence. The category code of most of TeX’s default special characters (and some other potentially problematic characters) is temporarily changed to 12 while reading the result.

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

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

sudo dnf -y install texlive-texosquery

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

sudo yum -y install texlive-texosquery

How To Uninstall texlive-texosquery on Fedora 36

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

sudo dnf remove texlive-texosquery

texlive-texosquery Package Contents on Fedora 36

/usr/bin/texosquery
/usr/bin/texosquery-jre5
/usr/bin/texosquery-jre8
/usr/share/licenses/texlive-texosquery
/usr/share/licenses/texlive-texosquery/lppl1.3.txt
/usr/share/texlive/texmf-dist/doc/support/texosquery
/usr/share/texlive/texmf-dist/doc/support/texosquery/CHANGES
/usr/share/texlive/texmf-dist/doc/support/texosquery/README.md
/usr/share/texlive/texmf-dist/doc/support/texosquery/texosquery.pdf
/usr/share/texlive/texmf-dist/scripts/texosquery
/usr/share/texlive/texmf-dist/scripts/texosquery/texosquery-jre5.jar
/usr/share/texlive/texmf-dist/scripts/texosquery/texosquery-jre5.sh
/usr/share/texlive/texmf-dist/scripts/texosquery/texosquery-jre8.jar
/usr/share/texlive/texmf-dist/scripts/texosquery/texosquery-jre8.sh
/usr/share/texlive/texmf-dist/scripts/texosquery/texosquery.jar
/usr/share/texlive/texmf-dist/scripts/texosquery/texosquery.sh
/usr/share/texlive/texmf-dist/tex/latex/texosquery
/usr/share/texlive/texmf-dist/tex/latex/texosquery/texosquery.cfg
/usr/share/texlive/texmf-dist/tex/latex/texosquery/texosquery.sty
/usr/share/texlive/texmf-dist/tex/latex/texosquery/texosquery.tex

References

Summary

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