@@ -7,16 +7,16 @@ Mac OS X system, together with Tcl on which it depends.
7
7
## Tcl
8
8
9
9
1 . Go to < https://www.tcl-lang.org > and download the latest Tcl sources. At
10
- the time of writing, the latest available Tcl version was 8.6.14 ,
10
+ the time of writing, the latest available Tcl version was 8.6.16 ,
11
11
which can be downloaded from
12
- [ here] ( https://prdownloads.sourceforge.net/tcl/tcl8.6.14 -src.tar.gz ) .
13
- The remainder of these commands will assume Tcl v8.6.14 is being
12
+ [ here] ( https://prdownloads.sourceforge.net/tcl/tcl8.6.16 -src.tar.gz ) .
13
+ The remainder of these commands will assume Tcl v8.6.16 is being
14
14
installed, you may need to adjust them accordingly.
15
15
16
16
1 . Unpack the Tcl source tarball:
17
17
18
18
``` shell
19
- tar xfvz tcl8.6.14 -src.tar.gz
19
+ tar xfvz tcl8.6.16 -src.tar.gz
20
20
```
21
21
22
22
1. Pick a location where you will install Tcl. It should be a directory
@@ -27,12 +27,12 @@ Mac OS X system, together with Tcl on which it depends.
27
27
the ` configure` script using the ` --prefix` option:
28
28
29
29
` ` ` shell
30
- cd tcl8.6.14 /unix
30
+ cd tcl8.6.16 /unix
31
31
./configure --prefix=$HOME /.local/Tcl
32
32
` ` `
33
33
34
34
If you' re building Tcl and Environment Modules on Mac, you should
35
- run `configure` in the `tcl8.6.14 /macosx` directory instead.
35
+ run `configure` in the `tcl8.6.16 /macosx` directory instead.
36
36
37
37
1. Next, build Tcl using the `make` command. If the system you are
38
38
building on has multiple cores, running make in parallel will speed
@@ -57,14 +57,14 @@ package, which requires Tcl.
57
57
## Environment Modules
58
58
59
59
1. Download the latest source tarball for the Environment Modules tools
60
- from <https://modules.sourceforge.net >. At the time of writing, the
61
- latest available version is 5.4 .0 which can be downloaded [from
62
- here](https://prdownloads.sourceforge.net/ modules/modules-5.4 .0.tar.gz).
60
+ from <https://envmodules.github.io/modules/ >. At the time of writing, the
61
+ latest available version is 5.6 .0 which can be downloaded [from
62
+ here](https://github.com/envmodules/ modules/releases/download/v5.6.0/ modules-5.6 .0.tar.gz).
63
63
64
64
1. Unpack the downloaded source tarball:
65
65
66
66
``` shell
67
- tar xfvz modules-5.4 .0.tar.gz
67
+ tar xfvz modules-5.6 .0.tar.gz
68
68
```
69
69
70
70
1. Configure the build, again use `--prefix` to specify where to
@@ -74,8 +74,8 @@ package, which requires Tcl.
74
74
option:
75
75
76
76
` ` ` shell
77
- cd modules-5.4 .0
78
- ./configure --prefix=$HOME /.local/environment-modules --with-tcl=$HOME /.local/Tcl/lib
77
+ cd modules-5.6 .0
78
+ ./configure --prefix=$HOME /.local/environment-modules --with-tcl=$HOME /.local/Tcl/lib --with-tclsh= $HOME /.local/Tcl/bin/tclsh8.6
79
79
` ` `
80
80
81
81
1. Build with ` make` :
@@ -110,3 +110,8 @@ source $HOME/.local/environment-modules/init/bash
110
110
!!! tip
111
111
Add these three lines in your ` .bashrc ` file, that way they'll
112
112
be executed every time you log in.
113
+
114
+ You may look at Environment Modules installation guide to learn how to [ enable
115
+ it in other shells] ( https://modules.readthedocs.io/en/stable/INSTALL.html#enable-modules-in-shells )
116
+ or [ adapt the configuration] ( https://modules.readthedocs.io/en/stable/INSTALL.html#configuration )
117
+ to fit your needs.
0 commit comments