Skip to content

Instantly share code, notes, and snippets.

@Peregrinox
Last active June 18, 2021 06:11
Show Gist options
  • Save Peregrinox/1d39ee61e5719a0775601c0376e54b54 to your computer and use it in GitHub Desktop.
Save Peregrinox/1d39ee61e5719a0775601c0376e54b54 to your computer and use it in GitHub Desktop.
install unrar non-free on osmc (debian stretch)

Add contrib non free to sources:

$ sudo nano /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free

deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
$ sudo apt-get update
$ sudo apt-get install unrar
...
Des:1 http://ftp.debian.org/debian stretch/non-free armhf unrar armhf 1:5.3.2-1+
...
$ unrar -V
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment