LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-10-2008, 02:51 PM   #1
opus-outlaw
LQ Newbie
 
Registered: Jan 2008
Posts: 18

Rep: Reputation: 0
Installing Python 3k


For quite some time now I've been thinking about learning (playing with) the python programing language. The primary reason for putting off this activity has been a lack of time but I also wanted to wait for the new release of 3k.

I'm aware that if I build the new version without using configure --prefix=path ... I will almost certainly break my system.

If I build with:

configure --prefix=$HOME/python-3.0

my system should be safe.

Now for my questions:

I know I will have to modify my path variable to include the new executable which I plan to do in a simple shell script:

#!/bin/bash
PATH=~/python-3.0/bin:"${PATH}"
export PATH

I know I'm missing something in the shell script that will make this environmental change available in the "local" shell.

I'm pretty sure that I will also have to configure the environment to include the new libraries. When I built xfce I used configure --prefix=/usr/local.
However I then had to modify /etc/ld.so.conf (then run ldconfig).
This change would appear to be system wide which is not really what I want.

Any suggestions, advice or comments would be much appreciated.
Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing python 2.4 and superkarumba Skunx4life Linux - Software 1 07-08-2006 09:16 AM
installing python library's (Python Numeric) Four Linux - Newbie 1 10-16-2005 03:31 PM
Installing Python 2.4?? PICOspark Programming 1 01-18-2005 11:14 AM
Installing gnome-python 2.0.2 binaric Linux - Software 2 07-27-2004 09:25 PM
Installing Python 2.2.3-26 in RH 8 jdtiede Red Hat 0 11-05-2003 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration