Skip to content

Instantly share code, notes, and snippets.

@Ruzzz Ruzzz/
Created Dec 17, 2019

What would you like to do?
Make python from source and install
# prerequsitis
sudo apt-get install build-essential checkinstall
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev \
libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev
# download, see
cd /opt
sudo wget
sudo tar xzf Python-3.8.0.tgz
cd Python-3.8.0
# make, -j<CORES>
sudo ./configure --enable-optimizations
sudo make -j4 altinstall
# check
python3.8 -V
# cleanup
sudo rm -f /opt/Python-3.8.0.tgz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.