0
votes
2answers
33 views

env command shows 3 times same path

When i run env it shows 3 times /usr/bin under PATH . Same for every path under PATH title. For example - my scala bin directory shows 3 times . However, in my .bash_profile, it is written just one ...
2
votes
2answers
109 views

What is PATH on a Mac OS?

What is the PATH in a Mac OS? I have used it to install global command-line tools, but the only documentation I have found are tutorials for doing just that, with no real explanation of what is ...
2
votes
1answer
58 views

/etc/paths in OS X and other Unices

Is /etc/paths read by every shell that I run in OS X? For example, if I use zsh, will it parse /etc/path to populate $PATH? What exactly is the sequence that OS X follows to populate $PATH? Does it ...
2
votes
4answers
923 views

How can I find out where the firefox bin is?

I am trying to add Firefox to my PATH like in this tutorial. I have Firefox in the Applications folder of my GUI on my mac book air. I am familiar with adding locations to my path. But I don't know ...
1
vote
1answer
1k views

Numpy module not found despite being in path

I am having trouble with the module on python. Here is my path variable, /opt/local/bin /opt/local/sbin /Developer/usr/bin /usr/local/git/bin /usr/X11/bin /Users/oskarniburski/.rvm/bin /usr/X11R6/bin ...
3
votes
1answer
346 views

How to set the path OSX applications use

I'm running Mountain Lion 10.8.4, and have my environment all customized through ~/.profile so that when I run GUI apps like Sublime Text or Eclipse from the command line open /Applications/Sublime\ ...
0
votes
0answers
161 views

Installing required libs/frameworks/packages for compilation on OSX

I'm trying to compile SmartSim for OSX Lion, and at the moment I'm at the ./configure stage. Here is a dump of what I've managed to get so far: $ ./configure checking for a BSD-compatible install... ...
2
votes
1answer
210 views

Find out where $PATH got corrupted

I'm using OSX Mountain Lion 10.8.2 $echo $PATH prints this: /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/myusername/.rvm/bin I've commented out everything in ~/.bash_profile ...
2
votes
2answers
64 views

Why does “User Contributed Perl Documentation” show up when I look for 'man' pages

When I man -f <some string> in addition to the expected Unix man pages, I get a bunch of odd looking entries that all have the header "User Contributed Perl Documentation". For example man ...
6
votes
2answers
1k views

Which is the best practice when replacing a system binary?

I'm working on Mac OS X which is shipped with several binaries mostly located in /usr/bin/ and /usr/sbin/. Since it doesn't have a native package manager like some Linux distros, I got used to ...