Archive for September 26th, 2010

Install unrar on Ubuntu (Ubuntu’s unrar package different from Debian’s name)

Sunday, September 26th, 2010

Recently I had to open a rar archive on an Ubuntu server, which was lacking the unrar installed on it.
Trying to install directly through apt-get I got:
root@ubuntu:/home/vsftpd# apt-get install unrar
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package unrar is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package unrar has no installation candidate

After checking online and listing the available packages related to unrar that I can install I finally got the unrar console package in Ubuntu is renamed to unrar-free

Thus to install I apt-geted it:

ubuntu:~# apt-get install unrar-free

Thus to install I apt-geted it:

ubuntu:~# apt-get install unrar-free

Now I can continue extracting the rar archive, I hate this small differences between Ubuntu and Debian.
Maybe it’s a good thing that the two distros implement some common policy on package names 🙂