FYI: install unrar on Debian and ChromeOS Linux subsystem

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
User avatar
sander
Release Testers
Release Testers
Posts: 8812
Joined: January 22nd, 2008, 2:22 pm

FYI: install unrar on Debian and ChromeOS Linux subsystem

Post by sander »

FYI:

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

/etc/apt/sources.list
find the line

Code: Select all

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

So:

Code: Select all

apt install unrar
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  unrar
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 http://deb.debian.org/debian 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
Check:

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\>
Post Reply