Version 3 of Where does the package command find the packages it seeks?

Updated 2006-12-28 14:38:33

Wherever the script registered with package unknown is programmed to look. That is, this is completely application configurable.


MG Slightly related, you can check which files were loaded/sourced by a package by using package ifneeded:

 (User) 1 % package require Tk
 8.4
 (User) 2 % package ifneeded Tk 8.4
 load {C:/Program Files/Tcl/lib/tk8.4/../../bin/tk84.dll} Tk


Category Package