Sudo symbolic link between directories

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

[email protected]:~$
[email protected]:~$ ls opt
foo
[email protected]:~$
[email protected]:~$ ls bin
bar
[email protected]:~$
[email protected]:~$ ln -s opt bin
[email protected]:~$
[email protected]:~$ ls opt
foo
[email protected]:~$
[email protected]:~$ ls bin
bar opt
[email protected]:~$
[email protected]:~$ 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
[email protected]:~$

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

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

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

Whoops, follow ups to:

gmane.linux.ubuntu.user
[email protected]

same subject, etc.

-Thufir

Add to $PATH environmental variable is the easiest way!

Sent from my iPad by Sophorn Nuon

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?

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs