Last active
October 23, 2024 17:41
-
-
Save iscle/66e946553e74a883b4494d3b6df0ee82 to your computer and use it in GitHub Desktop.
Install python2.7 on Ubuntu 23.04 as "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
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You won't be able to make a venv out of that unless you
sudo apt-get install libssl-dev
before installing