[Linux-disciples] Preferred install location
Adam Rosi-Kessel
adam at rosi-kessel.org
Tue Jan 11 15:46:04 EST 2011
On 1/11/2011 3:26 PM, Stephen R Laniel wrote:
> On Jan 11, 2011, at 3:21 PM, Jamie Forrest wrote:
>
>> I am installing a set of command line tools from Google on my Ubuntu
>> 10.10 box. http://www.chromium.org/developers/how-tos/depottools
>>
>> The installation instructions say to just add the path to the untar'd
>> folder to my path, but I want to copy it out of my home directory and
>> put it somewhere more logical. What's the preferred install location
>> for things like this?
>
> - system-wide stuff goes in /usr/bin, /usr/sbin, /bin, and /sbin. This
> is typically where apps managed by the distribution (Ubu, in this
> case) go.
> - stuff the superuser compiles goes into /usr/local/{bin,sbin}
> - stuff you run on your own goes into ${HOME}/bin. You should then put
> $HOME/bin in your $PATH.
>
> hier(7) covers all of this. But it sounds like maybe you want
> /usr/local/bin here.
>
Seems to me ~/bin and /usr/local/bin are both acceptable locations,
especially if this is really just a desktop box. It is more secure to
install it in /usr/local/bin as sudo, rather than in ~/bin as user,
because the latter could be compromised by an errant process with user
(but not su) rights.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20110111/07d959b4/attachment.htm
More information about the Linux-disciples
mailing list