-
-
Save ansulev/65f61e5b457f795898be7c7488e1eaee to your computer and use it in GitHub Desktop.
Install Python 2.7.17 on Ubuntu 14.04
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
# usage | |
# bash install-python-2.7.17.sh | |
sudo apt-get update | |
sudo apt-get install build-essential checkinstall -y | |
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev -y | |
cd /usr/src | |
sudo wget https://www.python.org/ftp/python/2.7.17/Python-2.7.17.tgz | |
sudo tar xzf Python-2.7.17.tgz | |
cd Python-2.7.17 | |
sudo ./configure --enable-optimizations | |
sudo make install | |
sudo rm -rf /usr/src/Python-2.7.17* |
Glad it helped. Cheers.
Ángel Sulev
***@***.***
(+34) 624 67 66 96
El mar., 23 may. 2023 19:24, RGulde ***@***.***> escribió:
… ***@***.**** commented on this gist.
------------------------------
Thanks Dude,
With Ubuntu 22.04 steps 3,4 and 6-12 were all that were needed!
$ python
Python 2.7.17 (default, May 23 2023, 11:18:37)
[GCC 11.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/ansulev/65f61e5b457f795898be7c7488e1eaee#gistcomment-4577222>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADZ2YGPL4OFXL2AAJTJRJDXHTXGFBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFQKSXMYLMOVS2I5DSOVS2I3TBNVS3W5DIOJSWCZC7OBQXE5DJMNUXAYLOORPWCY3UNF3GS5DZVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTAMJYGI3DKMBRU52HE2LHM5SXFJTDOJSWC5DF>
.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks Dude,
With Ubuntu 22.04 steps 3,4 and 6-12 were all that were needed!
$ python
Python 2.7.17 (default, May 23 2023, 11:18:37)
[GCC 11.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.