Failed to locate program 'rar' in PATH

Asked by mathojojo

I got this error : Failed to locate program 'rar' in PATH, when trying to open a rar file. (unrar-nonfree is installed, and works well in command line)

Jaunty 9.04 and KDE 4.3 beta2 from ppa depositories.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #389213.

Revision history for this message
Brian Murray (brian-murray) said :
#1

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

sudo apt-get install rar unrar

You can now use:

unrar x file.rar in terminal

Ark will also gain the knowledge of rar files and be able to extract them ok.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

oops, its:

rar x file.rar

in terminal

Revision history for this message
Pedro F Loveras (pedroflovera) said :
#4

Woooao
This finaly fix my problem in Kubuntu 12.04.

My problem was every time i try to unrar any file i geting:

Failed to locate program 'rar' in PATH
And i have install rar on my system.

So i try what Andrew say:

sudo apt-get install rar unrar

And now is working...
Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

I suggest you run

sudo apt-get install p7zip p7zip-full p7zip-rar unp

Too, then just use unp to extract everything in CLI, it looks at the data and uses the correct extract command for you. Waaay easier..

Can you help with this problem?

Provide an answer of your own, or ask mathojojo for more information if necessary.

To post a message you must log in.