I installed rar, but I want to know where it is stored?
I did:
sudo apt-get rar
it installed it, but typing : sudo unrar file.rar doesn't work, says it doesn't know what the command is.
Will tell you where rar is located. |
|||
|
unrar is a different program from rar. You'll have to install that too. Mostly all your programs will be stored in /usr/bin or /usr/sbin . You can add this function to your .bashrc file and then just use the command extract to extract any archive :
|
|||
|
|
which unrarwould have told you which program would be executed. (And are you sure you would needsudoto run the command? Don't usesudofor everything you do!) – Arjan Jun 13 '10 at 18:18