Westermeyer
2022-12-29 14:24:59 UTC
Hello All,
Just wanted to put my notes on installing Tcl/Tk on Mac M1. Nothing groundbreaking here, but pure noobs might appreciate some guidance
1. Download the tcl and tk sources from whttps://www.tcl.tk/software/tcltk/download.html
2. Extract both the tcl and tk source packages
3. Use a shell to cd to macosx folder of tcl source
[At one of the points below you may be prompted to install XCode, which you should do if not already installed]
4. from the shell, type "./configure"
5. from the shell, type "make" (again, in the macosx folder)
6. from a shell, type "sudo make install"
Repeat steps 3, 4, 5, and 6 for tk source
As of today, this will give you Tcl/Tk version 8.6.13. You can confirm this by typing at your shell the following command:
"info patchlevel"
Where are the packages installed? You should be able to find the packages in the following location:
Macintosh HD > Library > Tcl
Other locations of interest:
Macintosh HD > System > Library > Tcl
Macintosh HD > System > Library > Frameworks > Tcl.framework
Macintosh HD > System > Library > Frameworks > TK.framework
Just wanted to put my notes on installing Tcl/Tk on Mac M1. Nothing groundbreaking here, but pure noobs might appreciate some guidance
1. Download the tcl and tk sources from whttps://www.tcl.tk/software/tcltk/download.html
2. Extract both the tcl and tk source packages
3. Use a shell to cd to macosx folder of tcl source
[At one of the points below you may be prompted to install XCode, which you should do if not already installed]
4. from the shell, type "./configure"
5. from the shell, type "make" (again, in the macosx folder)
6. from a shell, type "sudo make install"
Repeat steps 3, 4, 5, and 6 for tk source
As of today, this will give you Tcl/Tk version 8.6.13. You can confirm this by typing at your shell the following command:
"info patchlevel"
Where are the packages installed? You should be able to find the packages in the following location:
Macintosh HD > Library > Tcl
Other locations of interest:
Macintosh HD > System > Library > Tcl
Macintosh HD > System > Library > Frameworks > Tcl.framework
Macintosh HD > System > Library > Frameworks > TK.framework