Skip to content

Instantly share code, notes, and snippets.

@jfisbein
Last active May 4, 2019 18:45
Show Gist options
  • Save jfisbein/ecfcb07ff4df9e13d63f823a38cbb5ad to your computer and use it in GitHub Desktop.
Save jfisbein/ecfcb07ff4df9e13d63f823a38cbb5ad to your computer and use it in GitHub Desktop.
How to install tvheadend in raspbian
#!/bin/bash
set -e
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
apt-get -y install coreutils wget apt-transport-https lsb-release ca-certificates
wget -qO- https://doozer.io/keys/tvheadend/tvheadend/pgp | sudo apt-key add -
echo "deb https://apt.tvheadend.org/stable raspbian-stretch main" > /etc/apt/sources.list.d/tvheadend.list
apt-get update
apt-get -y install tvheadend
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment