# Dependencies required for offline installation

6 messages from 2016-07-05 to 2016-07-05. Participants: Kevin Paxton, Dennis Kaarsemaker, Konstantin Khomoutov, brian m. carlson.
Thread: https://gitlist.dev/t/42780

## Kevin Paxton, 2016-07-05 11:45

Subject: Dependencies required for offline installation
Message-ID: <CAOkrQrwH=Rj4OS4WphGqzc07hjFBB4B9BFy92qPWdJfB70KPnA@mail.gmail.com>
URL: https://gitlist.dev/e/CAOkrQrwH%3DRj4OS4WphGqzc07hjFBB4B9BFy92qPWdJfB70KPnA%40mail.gmail.com

```
Hi,

I’m looking to install git on a separate network that is running
Redhat 5.5. I need to know what is the list of packages that I need to
download to be able to install git-all? I plan on using git-svn to
migrate an existing svn repo over to git as well. Svn version we have
installed is 1.9.3.


Does the tarball contain all dependencies already? Should I go that
route? Or should I try and find all the rpm's required?


Thanks,

Kevin Paxton

```

## Dennis Kaarsemaker, 2016-07-05 17:53

Subject: Re: Dependencies required for offline installation
Message-ID: <1467741182.14863.6.camel@kaarsemaker.net>
URL: https://gitlist.dev/e/1467741182.14863.6.camel%40kaarsemaker.net
In-Reply-To: <CAOkrQrwH=Rj4OS4WphGqzc07hjFBB4B9BFy92qPWdJfB70KPnA@mail.gmail.com>

```
On di, 2016-07-05 at 07:45 -0400, Kevin Paxton wrote:
> Hi,
> 
> I’m looking to install git on a separate network that is running
> Redhat 5.5. 

That's ancient and unsupported. If you insist on using rhel 5, at least
do 5.11 so you get the security updates.

> I need to know what is the list of packages that I need to
> download to be able to install git-all? I plan on using git-svn to
> migrate an existing svn repo over to git as well. Svn version we have
> installed is 1.9.3.

There are rpms for git 1.8 in EPEL. git-all is probably overkill, but
you'll need at least git, perl-Git, perl-Git-SVN and perl-Error.

> Does the tarball contain all dependencies already? Should I go that
> route? Or should I try and find all the rpm's required?

The source tarball of git contains no dependencies. Also be aware that
building git from source requires even more dependencies.

D.

```

## Kevin Paxton, 2016-07-05 18:06

Subject: Re: Dependencies required for offline installation
Message-ID: <CAOkrQryazf=38eUMjcZzByjk=OVNfFGpFKnp5zpyML7yDKhW=A@mail.gmail.com>
URL: https://gitlist.dev/e/CAOkrQryazf%3D38eUMjcZzByjk%3DOVNfFGpFKnp5zpyML7yDKhW%3DA%40mail.gmail.com
In-Reply-To: <1467741182.14863.6.camel@kaarsemaker.net>

```
Thank you for the response.

I apologize. RHEL 6.5, not 5.5.

Would the same version be applicable to 6.5 as well as the
dependencies that you mentioned?

On Tue, Jul 5, 2016 at 1:53 PM, Dennis Kaarsemaker
<dennis@kaarsemaker.net> wrote:
> On di, 2016-07-05 at 07:45 -0400, Kevin Paxton wrote:
>> Hi,
>>
>> I’m looking to install git on a separate network that is running
>> Redhat 5.5.
>
> That's ancient and unsupported. If you insist on using rhel 5, at least
> do 5.11 so you get the security updates.
>
>> I need to know what is the list of packages that I need to
>> download to be able to install git-all? I plan on using git-svn to
>> migrate an existing svn repo over to git as well. Svn version we have
>> installed is 1.9.3.
>
> There are rpms for git 1.8 in EPEL. git-all is probably overkill, but
> you'll need at least git, perl-Git, perl-Git-SVN and perl-Error.
>
>> Does the tarball contain all dependencies already? Should I go that
>> route? Or should I try and find all the rpm's required?
>
> The source tarball of git contains no dependencies. Also be aware that
> building git from source requires even more dependencies.
>
> D.

```

## Konstantin Khomoutov, 2016-07-05 18:09

Subject: Re: Dependencies required for offline installation
Message-ID: <20160705210918.6dc556b42037386aeea55d42@domain007.com>
URL: https://gitlist.dev/e/20160705210918.6dc556b42037386aeea55d42%40domain007.com
In-Reply-To: <CAOkrQrwH=Rj4OS4WphGqzc07hjFBB4B9BFy92qPWdJfB70KPnA@mail.gmail.com>

```
On Tue, 5 Jul 2016 07:45:12 -0400
Kevin Paxton <kpaxton@paxdesigns.com> wrote:

> I’m looking to install git on a separate network that is running
> Redhat 5.5. I need to know what is the list of packages that I need to
> download to be able to install git-all? I plan on using git-svn to
> migrate an existing svn repo over to git as well. Svn version we have
> installed is 1.9.3.
> 
> Does the tarball contain all dependencies already?

No, it does not.  It depends on a few of external libraries (and
software packages) -- check it out yourself at [1].

It should be noted though that this list is not fixed.
IIUC the only hard dependency is zlib and all the other stuff is
optional.  SSH transport is implemented by calling an OpenSSH (or
compatible) client program, so this is a soft dependency.

Note that in your case you will need to have Perl 5.8+ because it's
used by the git-svn implementation, and that will use the Perl bindings
for Subversion (which, in turn, depend on both Perl and libsvn).
You'll need to have that stuff available and installed as well.

> Should I go that route?
> Or should I try and find all the rpm's required?

It's hard to tell.

RH 5.5 appears to be really really old so it's unlikely you'll find
official RPMs for recent Git versions.  You might try to look them up
in unofficial 3rd-party repos maintained by those who need to support
outdated systems.

This might get further complicated by the fact you appear to have
non-standard Subversion package (too fresh for RH 5.5 IMO).

Failing that, I'd have a VM running RH 5.5 and tried to build a set of
RPMs against the software packages you have deployed on the target
system.  The RPM specs can be grabbed from any up-to-date Redhatoid
system and backported.

1. https://github.com/git/git/blob/master/INSTALL

```

## Dennis Kaarsemaker, 2016-07-05 19:53

Subject: Re: Dependencies required for offline installation
Message-ID: <1467748395.14863.15.camel@kaarsemaker.net>
URL: https://gitlist.dev/e/1467748395.14863.15.camel%40kaarsemaker.net
In-Reply-To: <CAOkrQryazf=38eUMjcZzByjk=OVNfFGpFKnp5zpyML7yDKhW=A@mail.gmail.com>

```
On di, 2016-07-05 at 14:06 -0400, Kevin Paxton wrote:
> Thank you for the response.
> 
> I apologize. RHEL 6.5, not 5.5.

That's less ancient, but still not recommended. When using RHEL, try to
stay with the latest point release so you get security updates.

> Would the same version be applicable to 6.5 as well as the
> dependencies that you mentioned?

Red hat actually ships a version of git with RHEL 6.  So the 
version will be different (I believe it's a 1.7.something). The
dependencies should be similar, if not the same.

> On Tue, Jul 5, 2016 at 1:53 PM, Dennis Kaarsemaker
> <dennis@kaarsemaker.net> wrote:
> > 
> > On di, 2016-07-05 at 07:45 -0400, Kevin Paxton wrote:
> > > 
> > > Hi,
> > > 
> > > I’m looking to install git on a separate network that is running
> > > Redhat 5.5.
> > That's ancient and unsupported. If you insist on using rhel 5, at
> > least
> > do 5.11 so you get the security updates.
> > 
> > > 
> > > I need to know what is the list of packages that I need to
> > > download to be able to install git-all? I plan on using git-svn
> > > to
> > > migrate an existing svn repo over to git as well. Svn version we
> > > have
> > > installed is 1.9.3.
> > There are rpms for git 1.8 in EPEL. git-all is probably overkill,
> > but
> > you'll need at least git, perl-Git, perl-Git-SVN and perl-Error.
> > 
> > > 
> > > Does the tarball contain all dependencies already? Should I go
> > > that
> > > route? Or should I try and find all the rpm's required?
> > The source tarball of git contains no dependencies. Also be aware
> > that
> > building git from source requires even more dependencies.
> > 
> > D.

```

## brian m. carlson, 2016-07-05 22:45

Subject: Re: Dependencies required for offline installation
Message-ID: <20160705224513.GA143638@vauxhall.crustytoothpaste.net>
URL: https://gitlist.dev/e/20160705224513.GA143638%40vauxhall.crustytoothpaste.net
In-Reply-To: <1467748395.14863.15.camel@kaarsemaker.net>

```
On Tue, Jul 05, 2016 at 09:53:15PM +0200, Dennis Kaarsemaker wrote:
> On di, 2016-07-05 at 14:06 -0400, Kevin Paxton wrote:
> > Thank you for the response.
> > 
> > I apologize. RHEL 6.5, not 5.5.
> 
> That's less ancient, but still not recommended. When using RHEL, try to
> stay with the latest point release so you get security updates.
> 
> > Would the same version be applicable to 6.5 as well as the
> > dependencies that you mentioned?
> 
> Red hat actually ships a version of git with RHEL 6.  So the 
> version will be different (I believe it's a 1.7.something). The
> dependencies should be similar, if not the same.

At $DAYJOB, we build and ship Git with our software, which runs on RHEL
6 and 7.  I'd have to check to be certain, but I'm pretty sure the
dependencies for core Git are the same as Red Hat's version.  We choose
to compile with PCRE because it enables git grep -P, which we use in
development.  If you want git-svn, you'll of course need subversion.

In case you do move back to RHEL 5 (which I don't recommend), be aware
that the libcurl version is old enough that some features (DAV is one,
if I remember correctly) don't work.
-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | https://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: https://keybase.io/bk2204

```
