# ls -a | grep python
python
python-config
python-shared
python-shared-config
python-shared2.5
python-shared2.5-config
python-shared2.6
python-shared2.6-config
python2.5
python2.5-config
python2.6
python2.6-config
Voltar said:Yes, you can install both. I have Python 2.5 and 2.6 installed from ports. The default 'python' in /usr/local/bin is 2.6, and I have a 'python2.5' and 'python2.6' binary.
Code:# ls -a | grep python python python-config python-shared python-shared-config python-shared2.5 python-shared2.5-config python-shared2.6 python-shared2.6-config python2.5 python2.5-config python2.6 python2.6-config
.if ${.CURDIR:M*/ports/devel/ccache}
NO_CCACHE=yes
.endif
wonslung said:for instance if i have 2.6 set as default and i have a program which needs 2.5 how do i make sure it uses 2.5