Last active
July 30, 2021 14:15
-
-
Save masala-man/6c559596cb850bf5b98a203b37b036ae to your computer and use it in GitHub Desktop.
Get, build and install a given version of python
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/sh | |
VERSION="x.x.x" | |
sudo apt-get install libssl-dev openssl | |
wget https://www.python.org/ftp/python/$VERSION/Python-$VERSION.tgz | |
tar xzvf Python-$VERSION.tgz | |
cd Python-$VERSION | |
./configure | |
make | |
sudo make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment