Skip to content

Instantly share code, notes, and snippets.

@p3jitnath
Last active July 24, 2020 19:16
Show Gist options
  • Save p3jitnath/b8ae0664988d2fab0a30231416b0d47d to your computer and use it in GitHub Desktop.
Save p3jitnath/b8ae0664988d2fab0a30231416b0d47d to your computer and use it in GitHub Desktop.
Build python from source
sudo apt install build-essential checkinstall
sudo apt install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
wget https://www.python.org/ftp/python/3.6.9/Python-3.6.9.tar.xz
tar xvf Python-3.6.9.tar.xz
cd Python-3.6.9/
./configure
sudo make altinstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment