Skip to content

Instantly share code, notes, and snippets.

@AutomationD
Created November 24, 2014 23:17
Show Gist options
  • Save AutomationD/9b438c2de72ce1294642 to your computer and use it in GitHub Desktop.
Save AutomationD/9b438c2de72ce1294642 to your computer and use it in GitHub Desktop.
python 3.4 on Raspbian wheezy
sudo su
cat << EOF > /etc/apt/preferences
Package: *
Pin: release n=wheezy
Pin-Priority: 900
Package: *
Pin: release n=jessie
Pin-Priority: 300
Package: *
Pin: release o=Raspbian
Pin-Priority: -10
EOF
echo "deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi" >> /etc/apt/sourses.list
apt-get update
apt-get dist-upgrade -y
apt-get install tmux git mc htop dstat puppet -y
rpi-update
apt-get install python3 python3-pip -t jessie -y
@pancho-villa
Copy link

Typo on line 17, it should read:

echo "deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi" >> /etc/apt/sources.list

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment