# git-core vs git package on ubuntu

4 messages from 2013-01-25 to 2013-01-25. Participants: Mario Michael Krell, Matthieu Moy, Konstantin Khomoutov.
Thread: https://gitlist.dev/t/32725

## Mario Michael Krell, 2013-01-25 13:50

Subject: git-core vs git package on ubuntu
Message-ID: <4A4C2896-042A-4BE3-9E74-012D881D5776@googlemail.com>
URL: https://gitlist.dev/e/4A4C2896-042A-4BE3-9E74-012D881D5776%40googlemail.com

```

Dear git developers,

In your documentation you say, that git should be installed on Unix using

apt-get install git-core

Unfortunately it tells the user, that this package is obsolete and "git" should be used instead. Is this an error in the package manager or in the website documentation?

Greets

Mario
```

## Matthieu Moy, 2013-01-25 14:06

Subject: Re: git-core vs git package on ubuntu
Message-ID: <vpqham5cq7n.fsf@grenoble-inp.fr>
URL: https://gitlist.dev/e/vpqham5cq7n.fsf%40grenoble-inp.fr
In-Reply-To: <4A4C2896-042A-4BE3-9E74-012D881D5776@googlemail.com>

```
Mario Michael Krell <supermariton@googlemail.com> writes:

> Dear git developers,
>
> In your documentation you say,

Which documentation?

> that git should be installed on Unix using
>
> apt-get install git-core

A quick grep shows that this is not the case in the documentation
provided with Git, and it's not what I see on
http://git-scm.com/download/linux either.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

```

## Konstantin Khomoutov, 2013-01-25 14:06

Subject: Re: git-core vs git package on ubuntu
Message-ID: <20130125180657.648f2d985a43d4c80133c599@domain007.com>
URL: https://gitlist.dev/e/20130125180657.648f2d985a43d4c80133c599%40domain007.com
In-Reply-To: <4A4C2896-042A-4BE3-9E74-012D881D5776@googlemail.com>

```
On Fri, 25 Jan 2013 14:50:24 +0100
Mario Michael Krell <supermariton@googlemail.com> wrote:

> In your documentation you say, that git should be installed on Unix
> using
> 
> apt-get install git-core

Note that Ubuntu is not Unix.

> Unfortunately it tells the user, that this package is obsolete and
> "git" should be used instead. Is this an error in the package manager
> or in the website documentation?

Neither of them.  Git was packaged for Debian (and hence appeared in
Ubuntu) when another package with the name "git" already existed in the
archive, and was unrelated to Git.  So the Git package maintainer
picked the name "git-core".  After that, the maintainers of both
packages discussed this issue and the maintainer of the original
package named "git" agreed to change the name of his package, and then,
subsequently, "git-core" has been renamed to "git", and the "git-core"
package has been turned into transitional dummy obsolete package.

Now, whenever you're trying to install the "git-core" package, the
package system tells you it's obsolete and suggests the "correct"
package to install.  After some time (the next OS release or later),
the "git-core" package will be removed completely from the archive.

This is the standard way to handle such situations in Debian and its
derivatives, so nothing special here.  The documentation on the
whatever site you were referring to should probably be updated as
git-core is obsolete even in the current stable release of Debian [1].
I'm not sure which LTS release of Ubuntu is currently supported, but
you might check the state of the git-core package in it yourself,
using [2].

1. http://packages.debian.org/squeeze/git-core
2. http://packages.ubuntu.com

```

## Matthieu Moy, 2013-01-25 14:25

Subject: Re: git-core vs git package on ubuntu
Message-ID: <vpq4ni5cpc0.fsf@grenoble-inp.fr>
URL: https://gitlist.dev/e/vpq4ni5cpc0.fsf%40grenoble-inp.fr
In-Reply-To: <58A2D0C1-5E74-4449-9AC4-D2BDC494555C@googlemail.com>

```
Cc-ing the Git list again.

Mario Michael Krell <supermariton@googlemail.com> writes:

> I am sorry for being so unspecific. I had problems finding your
> mentioned website and quickly went through the "getting started"
> tutorial and found the mentioned command at:
>
> http://git-scm.com/book/en/Getting-Started-Installing-Git

OK, this is the "pro Git" book. I just submitted a pull request:

  https://github.com/progit/progit/pull/358

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

```
