[solved] How to install lualatex (binary not found)

I found it, how do I install lualatex on a f39 machine. I did a sudo dnf install /usr/bin/lualatex and it installed texlive-latex just fine but I still couldn’t get lualatex in my PATH:

$ LC_ALL=C lualatex
zsh: lualatex: command not found...
Install package 'texlive-latex' to provide command 'lualatex'? [N/y] y


 * Waiting in queue... Failed to install packages: texlive-latex-11:svn65161-77.fc39.noarch is already installed

I just discovered that /usr/bin/lualatex was a symbolic link to a file which did not exists:

lrwxrwxrwx. 1 root root 8 22 juil. 02:00 /usr/bin/lualatex -> luahbtex

I did a sudo dnf install /usr/bin/luahbtex which installed texlive-luahbtex-11 and now it works.

Moved to Ask Fedora