Catching up
Gary E. Miller
gem at rellim.com
Mon Jan 8 02:53:43 UTC 2018
Yo Richard!
On Sun, 7 Jan 2018 18:02:32 -0600
Richard Laager via devel <devel at ntpsec.org> wrote:
> Debian has two versions of Python. Debian's Python 3.x executable name
> is python3, so `/usr/bin/env python` gets me Python 2.x. I think this
> is a great example of this question.
Just two python's? Right now Gentoo trivialy supports 2.7, 3.4, 3.5
and 3.6. But I know people running 2.6 and 3.3 with little extra effort.
All at once.
> On 01/07/2018 04:59 PM, Gary E. Miller via devel wrote:
> > Gentoo
> > has a tool called eselect. With it I can select what version of
> > python to use as system default from the command line.
>
> For my own curiosity, does eselect manipulate a /usr/bin/python
> symlink?
Nope. Gentoo and portage make a lot of use of symlinks, but not in
this trivial case. symlinks would not allow per user configuration.
PHP on Gentoo is a better example. On one host I have 4 different PHP
installed. Wirh eselect you can assign any of the 4 PHP to any of
5 programs that might call PHP. All at the same time. For further
granularity each program that uses PHP can be installed, with a portage
flag, to always use just one of those 4 PHP.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180107/402b43db/attachment.bin>
More information about the devel
mailing list