Skip to content

Instantly share code, notes, and snippets.

@iscle
Last active October 23, 2024 17:41
Show Gist options
  • Save iscle/66e946553e74a883b4494d3b6df0ee82 to your computer and use it in GitHub Desktop.
Save iscle/66e946553e74a883b4494d3b6df0ee82 to your computer and use it in GitHub Desktop.
Install python2.7 on Ubuntu 23.04 as "python"
wget https://www.python.org/ftp/python/2.7.18/Python-2.7.18.tgz
tar xzf Python-2.7.18.tgz
cd Python-2.7.18
sudo ./configure --enable-optimizations
sudo make altinstall
sudo ln -s "/usr/local/bin/python2.7" "/usr/bin/python"
@Lauriy
Copy link

Lauriy commented Oct 4, 2024

You won't be able to make a venv out of that unless you sudo apt-get install libssl-dev before installing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment