Manually download Python updates and switch back to previous versions

Source: Internet
Author: User
The Ubuntu version is slightly lower when it is used and does not want to update the version. However, the kernel and other software are often updated, especially when Python is updated by yourself recently, but the software update has failed, in addition, you cannot enable & ldquo; LanguaeSupport & rdquo; (software support) or ibus input methods. It is very troublesome. You have tried many solutions, but none of them work. You can only change them back. To change the link to python, follow these steps. 1. Delete the link, that is, rm/us

The Ubuntu version is slightly lower when it is used and does not want to update the version. However, the kernel and other software are often updated, especially when Python is updated by yourself recently, but the software update has failed, in addition, you cannot enable the "Alibaba AE Support" (software Support) and ibus input methods. It is very troublesome to try a lot of solutions, but it does not work. You can only change it back.

The steps for changing back are as follows:

The previous python is actually a link modification.

1. Delete the link, that is:

 rm /usr/bin/python

2. Rebuild the link and connect to the python system.

First, check your python version:

 ls /usr/bin | grep python

Find the folder with numbers, for example, python2.7 (depending on your system), and then create a link:

ln -s /usr/bin/python2.7  /usr/bin/python

If you want to use ibus normally, you can restart the system or process!

Python core programming version 2. (Wesley J. Chun). [High Definition PDF Chinese edition] http://www.linuxidc.com/Linux/2013-06/85425.htm

(Zhou Wei, Zong Jie). [hd PDF scan version + book with video + code] http://www.linuxidc.com/Linux/2013-11/92693.htm

Python script to get Linux information http://www.linuxidc.com/Linux/2013-08/88531.htm

Build a desktop algorithm transaction research environment http://www.linuxidc.com/Linux/2013-11/92534.htm with Python in Ubuntu

RedHat upgrade Python to 2.7.6 http://www.linuxidc.com/Linux/2014-03/98608.htm

Python details: Click here
Python: Click here

This article permanently updates the link address: Http://www.linuxidc.com/Linux/2014-08/105525.htm

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.