Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You should be careful with regards to "upgrading" python. If you install a new version of python in the same place where your distro installs its version of python you can end up with a broken system. You could compile your own version to a directory like /usr/local/python25.
You should be careful with regards to "upgrading" python. If you install a new version of python in the same place where your distro installs its version of python you can end up with a broken system. You could compile your own version to a directory like /usr/local/python25.
Hi, i am still quite fresh in the linux, mind to show me the step if i manually download the python2.5.tar.gz file? as when i do the yum update, it only show me python2.4 is the latest update, but i need python2.5, thanks!
Distributions tend to stick with the same version of python even if a new version has been released, thats why yum keeps showing the old version. This is for stability reasons and so that distro maintainers don't have to port their tools to a new python release. If you need a new version of python, compile from source and make sure you install in a different path to that of your distributions version of python.
If you downloaded the tar.gz file, you need to do something like
Code:
tar zxvf python2.5.tar.gz
cd python2.5
./configure --prefix=/usr/local/python25
make
su
make install
Read the documentation on the python site or in the directory extracted from the tar.gz file for more specific installation details.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.