Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

symbolic link to /opt

Writer 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?

1

1 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:$PATH

b) Add symbolic links to the commands in a directory already in PATH (echo "$PATH")

sudo ln -s /opt/ActiveTcl-8.4/bin/* /usr/local/bin

Note that with method (a), the changes will not take effect until next log in.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy