Skip to content

Instantly share code, notes, and snippets.

@chwe17 chwe17/unrar.sh
Created Feb 11, 2019

Embed
What would you like to do?
trivial fix of https://gist.github.com/VadimBrodsky/1f567067e2cd438312bb9fd57095a806 so that it's really a script..
#!/bin/bash
# make it executable with: sudo chmod a+x unrar.sh
# execute with: sudo ./unrar.sh
sed -i 's+#deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi+deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi+g' /etc/apt/sources.list
cd $(mktemp -d) && apt-get update && apt-get build-dep unrar-nonfree && apt-get source -b unrar-nonfree && dpkg -i unrar*.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.