On 11/22/12 06:28, Konstantin Khomoutov wrote:
> So, to answer the original question, Git *might* be installed
> under /opt, when doing manual compilation, but this is somewhat odd due
> to a number of reasons--it's always better to first try installing Git
> from a ready-made binary package. Every sensible OS has Git packaged,
> and it's even available for Windows.
> So when one installing Git on the server, the first thing to try is to
> install it using the usual OS's means, like doing `apt-get install git`
> or `yum install git` or whatever applies.
The big exception is when running on older boxes. I admin on older
Debian box where 126.96.36.199 is the latest version in the repos, so
building from source gets a LOT of good stuff in git (i.e., makes
git usable :). That said, I agree that I'd put it in /usr/local/...
rather than /opt