-bash: rar: command not found

Hi All

I'm trying to run command from the terminal and many of them give:

-bash: rar: command not found

specifically I'm trying mplayer to dump a stream, and rar to decompress a file I was sent.

Any ideas?

TIA

BP

Posted on Oct 5, 2005 11:24 PM

Reply
6 replies

Oct 7, 2005 12:28 AM in response to Camelot

well I downloaded rar, de-compressed, moved into /Applications. Then in terminal I switch to /Applications/rar and then type rar text.txt text.rar or anything involving rar / unrar and get the command not found message.

If I double click rar it launches terminal session and tells me stuff.

So rar is presumably installed, and findable?

Oct 7, 2005 11:17 AM in response to bluepolo

So rar is presumably installed, and findable?


Maybe by you, but not by the shell.

Typically, /Applications is used by GUI apps. Command line apps rarely, if ever, live in /Applications, and the shell won't look in there for commands.

To see which directories the shell will look in, open a terminal window and type:

echo $PATH



These are the ONLY directories that the shell will look in when you type a command without a path. You will need to move the rar executable into one of these directories in order to have the shell find it automatically.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

-bash: rar: command not found

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.