Summary of issues encountered with Linux upgrade Python version 2.7.11

Source: Internet
Author: User

First of all, please forgive me to use the campus network, basically can't open Google, Internet search to get help are from degrees Niang.

For me this new Linux novice IT, I upgrade something to worry about, in case of mistakes, may have to re ...

Referring to the Niang content and their own groping, tonight's upgrade to a successful end hahaha

I need to upgrade the Python version of Linux to 2.7.11, degrees Niang a ship, are all kinds of direct fix download link, found a variety of copy to copy to the content, find to find not found 2.7.11, so go to the official website www.python.org

home can see the latest in download 2.7.11, point in, need is the top gzipped source tarball, the mouse moved to the last line to see the SIG, click to copy the URL HTTPS://WWW.PYTHON.ORG/FTP/PYTHON/2.7.11/PYTHON-2.7.11.TGZ.ASC Delete the last. ASC and then download it in Linux with wget + URLs

Second, after the download is complete, will find the compressed file python-2.7.11.tgz, follow-up can be in accordance with the online various decompression installation on OK, remember not to overwrite the old version, establish a good new version of the link

Third, in order to ensure the normal operation of Yum, we must modify the next Vim/usr/bin/yum

Change #!/usr/bin/python to #!/usr/bin/python2.6 "Note: Do not change to what 2.6.6, change to this is not good to make."

Summary of issues encountered with Linux upgrade Python version 2.7.11

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.