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
|