Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

juhuu123

macrumors newbie
Original poster
Jun 1, 2010
4
0
Dear all,
I am a complete beginner in this field, but I need to know how I can successfully add sth to the path variable, that stays there and that works. I have downloaded a package (cufflinks) and untared it and two binaries (cufflinks and cuffcompare) from that I now have to add to the path variable. I tried it with

export PATH=$PATH:/new_path_entry

but that does not work. At least I do not get the cufflinks command to run. Can anyone help me, please? If you need further information, please tell me.

Thanks a lot,
juhuu
 
Hi,

I do not know much of the tool you are suppose to use but...
Did you verified that the "/new_path_entry" is currently in the path ?

run in terminal

echo $PATH


to see your path, it may be something else that prevent you from running the cufflinks.

/petron
 
Dear all,
I am a complete beginner in this field, but I need to know how I can successfully add sth to the path variable, that stays there and that works. I have downloaded a package (cufflinks) and untared it and two binaries (cufflinks and cuffcompare) from that I now have to add to the path variable. I tried it with

export PATH=$PATH:/new_path_entry

but that does not work. At least I do not get the cufflinks command to run. Can anyone help me, please? If you need further information, please tell me.

Thanks a lot,
juhuu

That will only work in the current window as long as new_path_entry contains the location of the binaries.

We just went through this on This Thread
 
thanks a lot for your help. I tried now various ways, how to add this "cufflinks" to my PATH, but it does not work. I also read the other thread, but I cannot find anything, that would help me now. Like I said, I do not know much about this. So here is a little history of what I did.

in my account (no admin rights):

export sudo export PATH=$PATH:/Users/juhuu/cufflinks/cufflinks-0.8.2.OSX_x86_64/cufflinks

then it asked me for the password and afterwards it said, that the account is not in the sudoers file.

so I changed to the admin acoound and I did the same and then it says

sudo: export: command not found

so does anyone know, where I do the mistakes?

Thanks a lot
 
If you want to be try it out, open a terminal window and type

export PATH=$PATH:/Users/juhuu/cufflinks/cufflinks-0.8.2.OSX_x86_64/cufflinks

You don't need sudo to do this.

If it works for you, and you want to make it permanent. Edit the .profile and add the same export statement.

The .profile may not exist, so just create it in the directory the terminal window defaults to. (echo $HOME)

If you created it, just change the permissions by typing

chmod 755 .profile

Next time you start the terminal application, that path should be automagically there!
 
The install instructions from the Cufflinks "Getting Started" page states the following:

Installing a pre-compiled binary release
In order to make it easy to install Cufflinks, we provide a few binary packages to save users from occasionally frustrating process of building Cufflinks, which requires that you install the Boost libraries. To use the binary packages, simply download the appropriate one for your machine, untar it, and place the cufflinks and cuffcompare binaries in your PATH environment variable.

So you need to add the cuffcompare to the path as well...
 
The install instructions from the Cufflinks "Getting Started" page states the following:



So you need to add the cuffcompare to the path as well...


yeah, but if I can add one, I guess I will manage to add both ;) Cool that you have found, what I am doing. You see, I had my reasons to choose the easier versions, how to install it. However, it is still not easy enough :)


This .profile, where exactly do I have to add it in this command? I did not understand it from the other thread
 
It is an (invisible) file that is found in your home folder. One way to create it is to create a plain text file called profile.txt in your favorite text editor with the commands you want, then do this:
  1. Open Terminal
  2. mv profile.txt .profile
  3. Restart Terminal, so the change takes effect
 
finally

So finally I made it!
The last problem I had to figure out was that my profile is called .bash_profile. When I changed that according to your instructions, I succeeded in adding the variables.
Thanks a lot to all of you
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.