[OpenIndiana-discuss] Calibre doc converter to ebooks formats for OpenIndiana??
Jan Owoc
jsowoc at gmail.com
Thu Aug 9 13:37:32 UTC 2012
On Thu, Aug 9, 2012 at 7:03 AM, Milan Jurik <milan.jurik at xylab.cz> wrote:
> Sooner or later Python 3.2 will be provided in OI SFE but I am not sure how
> much it can coexists with 2.6
Many GNU/Linux distributions have both a Python2 and a Python3 in
their repositories. I happen to have both installed on one of my
systems.
The way it works is similar to how it's frequently done with gcc,
where there is a series of symbolic links, with the plain "python"
command pointing toward the version that is considered most universal:
~$ ls -l /usr/bin/pyth*
lrwxrwxrwx 1 root root 9 Apr 23 10:06 /usr/bin/python -> python2.7
lrwxrwxrwx 1 root root 9 Apr 23 10:06 /usr/bin/python2 -> python2.7
-rwxr-xr-x 1 root root 2989480 Jul 31 23:40 /usr/bin/python2.7
-rwxr-xr-x 1 root root 1652 Jul 31 23:40 /usr/bin/python2.7-config
lrwxrwxrwx 1 root root 16 Apr 17 11:20 /usr/bin/python2-config ->
python2.7-config
lrwxrwxrwx 1 root root 9 Apr 14 23:13 /usr/bin/python3 -> python3.2
lrwxrwxrwx 1 root root 11 May 3 09:52 /usr/bin/python3.2 -> python3.2mu
-rwxr-xr-x 1 root root 2954048 May 3 09:52 /usr/bin/python3.2mu
lrwxrwxrwx 1 root root 11 Apr 14 23:13 /usr/bin/python3mu -> python3.2mu
lrwxrwxrwx 1 root root 16 Apr 17 11:20 /usr/bin/python-config ->
python2.7-config
When I have a program that *requires* Python 3.2, it usually knows (or
can be configured) to call "python3".
Cheers,
Jan
More information about the OpenIndiana-discuss
mailing list