Re: Supporting third party software in /usr/local

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

 



Michael A. Peters wrote:

>>  * Actually I'm not even sure regular $PATH includes /usr/local/bin, but
>>    maybe that was some other distro ...
> 
> /usr/local/bin is in my path - if a distro does not include it, it is
> imho a bug.

It's there, but it comes after /bin and /usr/bin, making it
useless for people who install replacement versions of vendor
packages.

I use this workaround in my /etc/profile.d/zzz_profile.sh:

 # reorder local
 PATH=/usr/local/bin:`echo $PATH | sed -e 's,:*/usr/local/bin,,g' -e 's,:*/usr/local/sbin,,g'`
 test "$UID" = 0 && PATH=/usr/local/sbin:$PATH

-- 
  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [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