how to build and install multiple micro-level major.minor versions of Python

Ned Deily nad at acm.org
Tue Apr 29 14:35:11 EDT 2014


In article <1398785310.2673.16.camel at belmer>,
 "Brent S. Elmer Ph.D." <webe3vt at aim.com> wrote:
> Is there a way to do what I want to do (i.e. install 2.7.6 beside 2.7)?

The usual way to support multiple micro versions is to build and install 
to a different location on your system by using:

./configure --prefix=/new/path

There is nothing magical about /usr/local or /usr other than that 
/usr/bin and /usr/local/bin are usually included in default $PATH.  If 
you use a non-default prefix, it's also probably best to avoid using 
--enable-shared to minimize the chances of confusion with shared library 
loading.

-- 
 Ned Deily,
 nad at acm.org




More information about the Python-list mailing list