Adding ~/.local/bin to default PATH

Braden McDaniel braden at endoframe.com
Thu Jul 28 14:35:04 UTC 2011


On Thu, 2011-07-28 at 08:41 -0400, Genes MailLists wrote: 
> On 07/28/2011 07:53 AM, Bryn M. Reeves wrote:
> > On 07/28/2011 12:46 PM, Genes MailLists wrote:
> 
> >>   This is a good point. Especially when you start on a 64 bit box and
> >> login to a 32 bit (or other arch) - bin now makes now sense at all. You
> >> need arch specific bins (bin, bin64 etc).
> > 
> > Currently Fedora only separates out the /lib* directories in multilib
> > installations - you'll find a mix of 32 and 64 bit binaries in the system binary
> > paths on these systems.
> > 
> 
>  which is fine for a 'system' which is 64 bit and may support 32 bit as
> well - its not fine for a 'user'  who logs in to a 32 bit machine from a
> 64 bit machine and now his binaries wont work.

Really, sharing of $HOME can (and does) happen among much *more*
disparate architectures than x86 and x86_64.  We don't have to think
about this as much these days now that MIPS and SPARC have waned in
popularity; but the idea that we might start seeing a lot more
consumer-oriented ARM devices running Linux isn't exactly far-fetched.
I typically use ~/`config.guess`/bin.

As it stands, ~/bin and ~/.local/bin are only appropriate for binaries
that are not arch-specific. Any "standard" that doesn't take that into
account needs some improvement.

-- 
Braden McDaniel <braden at endoframe.com>



More information about the devel mailing list