./install-tl -gui vs sudo ./install-tl -gui

Siep Kroonenberg siepo at bitmuis.nl
Thu May 6 10:57:33 CEST 2021

On Wed, May 05, 2021 at 09:33:28PM -0500, Murpholino Peligro wrote:
> ~/Downloads/install-tl-20210505$ ./install-tl -gui
> Error in startup script: invalid command name "dict"
>     while executing
> "dict create"
>     invoked from within
> "set mirrors [dict create]"
>     (file
> "/home/murphy/Downloads/install-tl-20210505/tlpkg/tltcl/tltcl.tcl" line 39)
>     invoked from within
> "source [file join $::instroot "tlpkg" "tltcl" "tltcl.tcl"]"
>     (file "./tlpkg/installer/install-tl-gui.tcl" line 53)
> ~/Downloads/install-tl-20210505$ sudo ./install-tl -gui
> *works! (see png attached)*
> But the thing is that somewhere in the documentation it says that only mac
> users should install as admins.
> Ps From a Fedora 34 installation.
> Thanks

The dict command was introduced in tcl 8.5.  Do you have a different
PATH as sudoer than as a regular user, and a stray obsolete Tcl/Tk
8.4 on your regular searchpath? That is the only explanation that
occurs to me.

Siep Kroonenberg

More information about the tex-live mailing list.