Linux Server Diary

The trials and tribulations of a Linux newbie trying to setup a home server.

Saturday, December 20, 2008

Python on Dreamhost

A question for all of the Linux heads out there:

I'm hosting with Dreamhost, and I'm working on setting up a Django devlopement site. DH's Python version is 2.3, but I'd like to use 2.5. Following these instructions, compiled a 2.5 version.

Now, I need to set the PATH so that this new version will be used. How should I do that?

UPDATED:

Never mind!  I found it:

export PATH="$HOME/bin:$PATH"
source ~/.bash_profile
 
Plus, I added the export line to ./bash_profile so it is executed each time.

Labels: , ,

0 Comments:

Post a Comment

<< Home