18 lines
464 B
Bash
18 lines
464 B
Bash
# Python 3.4 install script
|
|
# Launch as root
|
|
|
|
# Add testing sources
|
|
echo "deb http://mirrordirector.raspbian.org/raspbian/ jessie main" > /etc/apt/sources.list.d/jessie.list
|
|
|
|
# Pinning
|
|
echo -e "Package: *\nPin: release a=testing\nPin-Priority: 300" > /etc/apt/preferences.d/jessie.pref
|
|
|
|
# Update
|
|
apt-get update
|
|
|
|
# Install
|
|
apt-get -t jessie --yes install python3 gcc python3-pip python3-dev
|
|
|
|
# Remove unused packets (ie. Python3.2)
|
|
apt-get --yes autoremove --purge
|