Last active
July 13, 2018 09:45
-
-
Save yspreen/431e17d1ab2f764b60b25a7b0f0a3371 to your computer and use it in GitHub Desktop.
Install Python 3 on Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get install build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev -y | |
wget https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tar.xz | |
tar xf Python-3.6.5.tar.xz | |
cd Python-3.6.5 | |
./configure | |
make -j4 | |
sudo make install | |
sudo apt-get autoremove -y | |
sudo apt-get clean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment