Sudo symbolic link between directories

To make a symbolic link between directories, am I doing this correctly?

thufir@dur:~$
thufir@dur:~$ ls opt
foo
thufir@dur:~$
thufir@dur:~$ ls bin
bar
thufir@dur:~$
thufir@dur:~$ ln -s opt bin
thufir@dur:~$
thufir@dur:~$ ls opt
foo
thufir@dur:~$
thufir@dur:~$ ls bin
bar opt
thufir@dur:~$
thufir@dur:~$ ls /opt/ActiveTcl-8.5/
bin demos doc include lib license-at8.5-thread.terms licenses man
MANIFEST_at8.5.txt README-8.5-thread.txt
thufir@dur:~$

That seems ok, so that now ~/bin has ~/opt contents, specifically file
foo. This is a dry run, before adding /opt/ActiveTcl-8.5/bin to /usr/bin
in the pattern, so that I don't destroy the directory.

(The point of this is so that when I compile ruby as per http://
beginrescueend.com/integration/tk/ that the compiled ruby has tk
correctly. It seems required to use ActiveTcl in this scenario.)

thanks,

Thufir

Whoops, follow ups to:

gmane.linux.ubuntu.user
ubuntu-users@lists.ubuntu.com

same subject, etc.

-Thufir

···

On Sat, 17 Mar 2012 18:35:41 +0900, thufir wrote:

To make a symbolic link between directories, am I doing this correctly?

Why not just add /opt/ActiveTcl-8.5/bin to $PATH environment variable?

···

On Saturday, March 17, 2012 5:35:41 AM UTC-4, Thufir wrote:

To make a symbolic link between directories, am I doing this correctly?

Add to $PATH environmental variable is the easiest way!

···

Sent from my iPad by Sophorn Nuon

On Mar 17, 2012, at 11:36 AM, Intransition <transfire@gmail.com> wrote:

On Saturday, March 17, 2012 5:35:41 AM UTC-4, Thufir wrote:
To make a symbolic link between directories, am I doing this correctly?

Why not just add /opt/ActiveTcl-8.5/bin to $PATH environment variable?

TODAY(Beta) • Powered by Yahoo!
Shark feeding frenzy caught on video
Beaches in Perth, Australia, are closed after a helicopter crew makes quite a discovery.
Privacy Policy

Well, yeah, I was trying to do that a different way. By the way, this
was a mispost, only in that I meant to post Ubuntu. That being said, I'd
be glad to know the solution :slight_smile:

-Thufir

···

On Sun, 18 Mar 2012 00:36:24 +0900, Intransition wrote:

To make a symbolic link between directories, am I doing this correctly?

Why not just add /opt/ActiveTcl-8.5/bin to $PATH environment variable?