0

I have been unable to extract .rar files from the Archive Manager and so followed some instructions online on how else that can be done.

The xarchiver application does not install from the Software Manager and when I try to install unrar from the terminal, I get the following:

 :~$ sudo apt-get install unrar
 [sudo] password for:  
 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

Can anyone help me with this? Thank you very much.

53314N
  • 1

1 Answers1

3

multiverse

unrar is not contained in the standard Ubuntu repository. You need to enable the multiverse repository in order to install it. To do this run the following command:

sudo apt-add-repository multiverse && sudo apt-get update

as described here: How do I enable the "multiverse" repository?

On Ubuntu 17.04 (zesty) this package was called unrar-nonfree, so to install unrar you would need to issue sudo apt-get install unrar-nonfree.

But since 17.04 is not supported anymore you should really upgrade your system anyway.