Friday, July 8, 2011

Updating Python on RHEL

Good Morning its a wonderful Friday im so excited for no reason lol :) well anyways here is a quick tutorial on how to upgrade python without overwriting your existing version of python in RHEL(Red Hat Linux ) this method will also work on centos as well. So enough talking here are the steps that i took in order to get this to work.

Step 1 - > wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/epel-release-1-1.ius.el5.noarch.rpm


Step 2 -> rpm -Uvh epel-release-1-1.ius.el5.noarch.rpm

Step 3 -> yum install python26

Step 4 -> rpm -qil python26 | grep /usr/bin

That's all so now when you want to use python 2.6 just point to the /usr/bin/python26 directory instead of the original /usr/bin/python. This is a safer method b/c python is so closely tied with yum that it can cause alot of issues :0. well enjoy your new version of python and happy scripting :)

No comments:

Post a Comment

Cracking Kerberos Service Tickets (TGS) Using Kerberoasting

As of late I've been spending a lot of time researching and learning different techniques when it comes to attacking Active Directory En...