Last active
April 3, 2021 17:19
-
-
Save 21isenough/ca0b4f1d78662eb660d3e8d9d802a90c to your computer and use it in GitHub Desktop.
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 | |
# Install prerequisits and open a tmux session | |
sudo apt-get install -y 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 libffi-dev --fix-missing | |
# Download and install python | |
wget https://www.python.org/ftp/python/3.6.13/Python-3.6.13.tgz | |
sudo tar zxf Python-3.6.13.tgz | |
cd Python-3.6.13 | |
sudo ./configure | |
sudo make -j 4 | |
sudo make altinstall | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment