Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm having trouble installing libunrar.so. It's required for Calibre to convert CBR files.

Anyone an idea on where to get it (package or source)?

share|improve this question
add comment

3 Answers

up vote 3 down vote accepted

download calibre

http://sourceforge.net/projects/calibre/files/

select your system :

64 bits : calibre-x.x.xx-x86_64.tar.bz2

32 bits : calibre-x.x.xx-i686.tar.bz2

extract that file and find libunrar.so in the main directory

copy libunrar.so into "/usr/lib" folder

share|improve this answer
4  
Put libunrar.so in /usr/local/lib, not in /usr/lib. Never touch anything under /usr outside /usr/local without going through the package manager. Also, run sudo ldconfig after you've installed a .so manually. –  Gilles Oct 17 '10 at 17:52
    
@Gilles, i think is not necesary execute ldconfig in this case because only use (/lib and /usr/lib) man ldconfig and you are using /usr/local/lib –  hhlp Oct 17 '10 at 18:14
add comment

My PPA contains a libunrar package, if you don't feel like messing around with a manual install.

sudo apt-add-repository ppa:bodiltv/ppa
sudo apt-get update
sudo apt-get install calibre

(or just libunrar : sudo apt-get install libunrar)

share|improve this answer
add comment

you can grab the libunrar.so file from the latest files here http://sourceforge.net/projects/calibre/files/ , make sure to get the right architecture for your system. i got calibre-0.7.23-x86_64.tar.bz2 myself because i have a 64-bit system.

you can then put that libunrar.so file in /usr/lib and hopefully it should work okay

share|improve this answer
1  
Put libunrar.so in /usr/local/lib, not in /usr/lib. Never touch anything under /usr outside /usr/local without going through the package manager. Also, run sudo ldconfig after you've installed a .so manually. –  Gilles Oct 17 '10 at 17:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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