If I want to use `pdflatex` in the terminal, do I have to install it with rpm-ostree?

If I want to use pdflatex in the terminal, do I have to install it with rpm-ostree?

If you are going to use it often than yes.

Other option is to install in toolbox. In terminal toolbox enter and than sudo dnf install pdflatex

1 Like

Thank you.

running sudo dnf install pdflatex couldn’t find a package. Yet installing texlive works sudo dnf install texlive-scheme-full

Now, pdflatex and texstudio work within toolbox. I don’t miss packages and it runs smoothely.

But why not use official AppImage from https://www.texstudio.org/ ?

appimages are a pain to maintain as a user, imo.

apart from that, the appimage doesn’t provide pdflatex and other tools. texstudio is just one tool that I use with latex. R, python, julia, weave, etc. all somehow depend on latex. I just have to adapt to the atomic fedora workflow, as an end user.

1 Like

I am using TexStudio as a flatpak, which seems to have everything, at least I have no problems producing or manipulating pdf’s with it.

1 Like

'usr/bin/pdflatex is just a symbolic link to /usr/bin/pdftex, but the addition of la tells pdftex to load the LaTeX macros. The symbolic link comes from a texlive-latex package:

$ dnf whatprovides /usr/bin/pdflatex
Last metadata expiration check: 0:08:39 ago on Mon 20 Nov 2023 05:37:02 PM.
texlive-latex-11:svn65161-77.fc39.noarch : A TeX macro package that defines LaTeX
Repo        : @System
Matched from:
Filename    : /usr/bin/pdflatex

texlive-latex-11:svn65161-77.fc39.noarch : A TeX macro package that defines LaTeX
Repo        : fedora
Matched from:
Filename    : /usr/bin/pdflatex

It is important to mention that pdfLaTeX is in maintenance mode. LuaLaTeX is under active development with support many languages using unicode fonts.

1 Like