symbolic link to /opt
Matthew Harrington
How do you :
"Create as administrator (sudo) one link in /usr/bin to the command that you'd like to call (for example with8.5 and tclsh8.5). One time that you had create the links you can run directly tclsh8.5 or wish8.5 in one terminal."
Does that mean to link to the particular binary from the /opt directory?
11 Answer
Yes. To make commands available in PATH, you can either
a) Add the directory to your PATH variable by putting something like the following line in /etc/profile (systemwide) or ~/.profile (your user)
PATH=/opt/ActiveTcl-8.4/bin:$PATHb) Add symbolic links to the commands in a directory already in PATH (echo "$PATH")
sudo ln -s /opt/ActiveTcl-8.4/bin/* /usr/local/binNote that with method (a), the changes will not take effect until next log in.
4