Page 1 of 1

FYI: install unrar on Debian and ChromeOS Linux subsystem

Posted: June 3rd, 2020, 2:30 pm
by sander

How to install unrar (the real version: non-free) on Debian and ChromeOS Linux subsystem (which is Debian too):

As root, in the file

Code: Select all

find the line

Code: Select all

and add "non-free" to the end of it.
Save and exit.
Then, as root, run "apt update", and then "apt install unrar". Done!


Code: Select all

apt install unrar
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 111 kB of archives.
After this operation, 381 kB of additional disk space will be used.
Get:1 buster/non-free amd64 unrar amd64 1:5.6.6-1 [111 kB]
Fetched 111 kB in 0s (1048 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package unrar.
(Reading database ... 6776 files and directories currently installed.)
Preparing to unpack .../unrar_1%3a5.6.6-1_amd64.deb ...
Unpacking unrar (1:5.6.6-1) ...
Setting up unrar (1:5.6.6-1) ...
update-alternatives: using /usr/bin/unrar-nonfree to provide /usr/bin/unrar (unrar) in auto mode

Code: Select all

unrar | head -5

UNRAR 5.61 beta 1 freeware      Copyright (c) 1993-2018 Alexander Roshal

Usage:     unrar <command> -<switch 1> -<switch N> <archive> <files...>
               <@listfiles...> <path_to_extract\>