Wednesday, July 1, 2009

vimrc customizations

below are the vim customizations I place in my vimrc file

set foldmethod=marker
set nobackup
set nowritebackup
set background=dark
set number

Build Python 2.6 on CentOS 5.3

Build Python 2.6 on CentOS 5.3

download python 2.6.2 tarball
extract python 2.6.2 tarball to /usr/src
E.g., tar -xvjf /share/download/Python-2.6.2.tar.bz2 -C /usr/src

> cd /usr/src/Python-2.6.2
> ./configure
> make

make a symbolic link in /usr/bin for the python 2.6.2 interpreter
> ln -s /usr/src/Python-2.6.2/python /usr/bin/python26

verify that the correct python interpreter is executed
> python26

verify that python 2.6.2 appears in the heading