# Add a note in the on-line Git book about installing the man pages?

2 messages from 2013-04-02 to 2013-04-02. Participants: David Tonhofer, Junio C Hamano.
Thread: https://gitlist.dev/t/33355

## David Tonhofer, 2013-04-02 16:53

Subject: Add a note in the on-line Git book about installing the man pages?
Message-ID: <515B0D00.6020506@m-plify.com>
URL: https://gitlist.dev/e/515B0D00.6020506%40m-plify.com

```
Hi,

It seems the git man pages (or HTML pages) are not installed by default 
when you install git as described in the http://git-scm.com/book

I propose to add a note to 
http://git-scm.com/book/en/Getting-Started-Installing-Git along those lines:




Getting the git manpages from 
"https://code.google.com/p/git-core/downloads/list" and unpack them 
(supposing you installed your git into "/opt/git"):

TARGET=/opt/git
VERSION=`$TARGET/bin/git --version | awk '{print $3}' | cut -d '.' -f1-3`
wget "http://git-core.googlecode.com/files/git-manpages-${VERSION}.tar.gz"
mkdir "$TARGET/share/man"
tar xz -C "$TARGET/share/man" -f "git-manpages-${VERSION}.tar.gz"

```

## Junio C Hamano, 2013-04-02 17:27

Subject: Re: Add a note in the on-line Git book about installing the man pages?
Message-ID: <7vsj38etc4.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vsj38etc4.fsf%40alter.siamese.dyndns.org
In-Reply-To: <515B0D00.6020506@m-plify.com>

```
David Tonhofer <d.tonhofer@m-plify.com> writes:

> It seems the git man pages (or HTML pages) are not installed by
> default when you install git as described in the
> http://git-scm.com/book
>
> I propose to add a note to
> http://git-scm.com/book/en/Getting-Started-Installing-Git along those
> lines:
>
> Getting the git manpages from
> "https://code.google.com/p/git-core/downloads/list" and unpack them
> (supposing you installed your git into "/opt/git"):

I suspect that most end-users would install not from the source but
install Git from distro as binary packages.  I do not know what the
page of that website you refer to talks about offhand, but if it is
about installing from the source (so that they can help us improve
the software and its documentation), it may be a better idea to let
the users build the documentation pages from the source, not from
the above URL, which serves pre-formatted documentation we cannot
take a patch for.

```
