Installing binaries

Matthew Miller mattdm at mattdm.org
Tue May 24 16:29:11 UTC 2005


On Tue, May 24, 2005 at 06:57:23PM +0300, Dotan Cohen wrote:
> > I'm not sure I'm reading you right here. Are you saying you'd copy
> > someprogram-1.0-1.i386.rpm to /usr/local/bin?
> Yes. I would 'su -' to root, 'mv' it to /usr/local/bin, and them 'rpm
> -i' it from there. Same for perl programs (mapivi) and the like.
> Whatever was left after each install I would just 'rm'. For perl
> programs, that was usually the folder that they created and whatever
> was in them.
> 
> Is that bad? I'm new to linux and seem to learn best by doing wrong...

It's not particularly harmful, but isn't helpful, either. The only thing
special about /usr/local/bin is that it's (generally) in your PATH, so that
if you type "commandname", any matching command in that directory would run,
without you having to give the full path.

No reason at all to have non-executables there (and in fact, they don't
belong there.)


-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 73 degrees Fahrenheit.




More information about the users mailing list