Today was the first time I could not unpack rar file since I've started to use Linux in everyday use that! The issue was in unrar-free version - it can't unpack RAR files after 3.x version. I will delete unrar-free and install unrar-nonfree version.
$ sudo apt-get purge unrar-free
To install unrar-nonfree version from apt you should add keys to repos. But I was tired to do this so I simply downlad compiled version from oficial website:
https://launchpad.net/ubuntu/+source/unrar-nonfree
There was some error installing latest version:
dpkg: dependency problems prevent configuration of unrar: unrar depends on libstdc++6 (>= 5); however: Version of libstdc++6:i386 on system is 4.9.2-10.
I've just donwloaded the version that I need and it's installed correctly.
$ wget https://launchpadlibrarian.net/154812330/unrar_5.0.10-1_i386.deb $ sudo dpkg -i unrar_5.0.10-1_i386.deb
Now the command works without any issues:
$ unrar e my_file.rar ~/save_here
Add new comment