Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Where does $PATH get set in OS X 10.6 Snow Leopard?

I need to get a command line program working on my Mac, I have downloaded the executable binaries... not even quite sure where to put them, also need to do whatever the Mac equivalent of adding them to the windows path environment variable is?

The program is blast version 2.2.24 (genetics software)

share|improve this question

marked as duplicate by Chealion, BinaryMisfit Oct 1 '10 at 14:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Duplicate:… – ghoppe Sep 24 '10 at 15:29
up vote 3 down vote accepted

You add the path to the software in your .bash_profile or .bashrc in your home directory. Open Terminal and do the following:

cd ~
vim .bash_profile
export PATH

close the file and log out, then log back in and you should be ok.

share|improve this answer
typo: .basrc should be .bashrc – ghoppe Sep 24 '10 at 15:31
Fixed. Thank you! – Madison S Sep 24 '10 at 15:32
(digging back through unresolved questions, don't think this one was exactly right, but i think the typo correction fixes it, from memory changing one character made it work) – Kirstin Dec 17 '10 at 7:50
ah, works but only in bash – Kirstin May 18 '11 at 6:12

Not the answer you're looking for? Browse other questions tagged or ask your own question.