6

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)?

3

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

  • 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
  • I have found it named unrar.so rather than libunrar.so by the way. – Ivan Sep 17 '16 at 23:51
7

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)

2

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

  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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