I can't execute arara
(a command that is part of the TeXLive distribution) from the Terminal using bash shell.
I can execute tex
which resides in the same directory.
Evans-iMac:~ evanaad$ cd ~
Evans-iMac:~ evanaad$ which tex
/Library/TeX/texbin/tex
Evans-iMac:~ evanaad$ echo $PATH
/Library/Frameworks/Python.framework/Versions/3.12/bin:/Library/Frameworks/Python.framework/Versions/3.12/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:~/.dotnet/tools
Evans-iMac:~ evanaad$ ls /Library/TeX/texbin
...
amstex mkofm
arara mkpic
arlatex mkt1font
...
fragmaster teckit_compile
gbklatex tex
gbkpdflatex tex2aspc
...
Evans-iMac:~ evanaad$ which arara
Evans-iMac:~ evanaad$ arara --version
-bash: arara: command not found
My computer is iMac (21.5-inch, Late 2013) with some hardware upgrades
My OS is macOS Catalina v. 10.15.7
My TeXLive version is TeX 3.141592653 (TeX Live 2024)
I have jdk installed java 19.0.2 2023-01-17 (this is, afaik, the latest version that can be installed on macOS Catalina)
I don’t know why this happens.
How can I rectify this?
ls -l /Library/TeX/texbin/arara
andfile /Library/TeX/texbin/arara
ls -l /Library/TeX/texbin/arara
outputslrwxr-xr-x 1 root wheel 39 Apr 13 21:44 /Library/TeX/texbin/arara -> ../../texmf-dist/scripts/arara/arara.sh
.file /Library/TeX/texbin/arara
outputs/Library/TeX/texbin/arara: broken symbolic link to ../../texmf-dist/scripts/arara/arara.sh
.../../texmf-dist/scripts/arara/arara.sh
installed (or/usr/local/texlive/2024/texmf-dist/scripts/arara/arara.sh
which is where the symlink points to), this seems to be an error in the TeXLive distribution.