Forked from iscle/gist:66e946553e74a883b4494d3b6df0ee82
Created
April 14, 2025 05:30
-
-
Save flxxyz/bc90d9e2f14dff33241eaefae0fb2542 to your computer and use it in GitHub Desktop.
Install python2.7 on Ubuntu 23.04 as "python"
This file contains hidden or 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