Re: Prioritizing ~/.local/bin over /usr/bin on the PATH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Panu Matilainen wrote:
> On 05/04/2018 04:42 PM, John Florian wrote:
> > Just checking my own PATH, I see some surprising things at the front:
> > 
> > $  echo $PATH
> > /usr/libexec/python3-sphinx:/usr/lib64/qt-3.3/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin 
> > 
> > I love Sphinx and Qt, but what are they doing there ... at the front?   
> 
> Ditto. And *libexec* at that. libexec by definition is "internal 
> binaries that are not intended to be executed directly by users or shell 
> scripts", so it really does not belong in anybodys PATH.

It looks like a kludge to make python2-sphinx and python3-sphinx
parallel-installable and allow individual users to choose one or the
other, without breaking things that invoke the commands by their
unversioned names. It's yet another consequence of not designing a
programming language with enough forethought to make future versions
backward-compatible. I suppose we'll get rid of it some day when all
Sphinx plugins have been ported to Python 3.

Björn Persson

Attachment: pgpSgssWBvu4E.pgp
Description: OpenPGP digital signatur

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux