git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Dependencies required for offline installation
@ 2016-07-05 11:45 Kevin Paxton
  2016-07-05 17:53 ` Dennis Kaarsemaker
  2016-07-05 18:09 ` Konstantin Khomoutov
  0 siblings, 2 replies; 6+ messages in thread
From: Kevin Paxton @ 2016-07-05 11:45 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dependencies required for offline installation
  2016-07-05 11:45 Dependencies required for offline installation Kevin Paxton
@ 2016-07-05 17:53 ` Dennis Kaarsemaker
  2016-07-05 18:06   ` Kevin Paxton
  2016-07-05 18:09 ` Konstantin Khomoutov
  1 sibling, 1 reply; 6+ messages in thread
From: Dennis Kaarsemaker @ 2016-07-05 17:53 UTC (permalink / raw)
  To: kpaxton, git

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dependencies required for offline installation
  2016-07-05 17:53 ` Dennis Kaarsemaker
@ 2016-07-05 18:06   ` Kevin Paxton
  2016-07-05 19:53     ` Dennis Kaarsemaker
  0 siblings, 1 reply; 6+ messages in thread
From: Kevin Paxton @ 2016-07-05 18:06 UTC (permalink / raw)
  To: Dennis Kaarsemaker; +Cc: git

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dependencies required for offline installation
  2016-07-05 11:45 Dependencies required for offline installation Kevin Paxton
  2016-07-05 17:53 ` Dennis Kaarsemaker
@ 2016-07-05 18:09 ` Konstantin Khomoutov
  1 sibling, 0 replies; 6+ messages in thread
From: Konstantin Khomoutov @ 2016-07-05 18:09 UTC (permalink / raw)
  To: kpaxton; +Cc: git

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dependencies required for offline installation
  2016-07-05 18:06   ` Kevin Paxton
@ 2016-07-05 19:53     ` Dennis Kaarsemaker
  2016-07-05 22:45       ` brian m. carlson
  0 siblings, 1 reply; 6+ messages in thread
From: Dennis Kaarsemaker @ 2016-07-05 19:53 UTC (permalink / raw)
  To: kpaxton; +Cc: git

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Dependencies required for offline installation
  2016-07-05 19:53     ` Dennis Kaarsemaker
@ 2016-07-05 22:45       ` brian m. carlson
  0 siblings, 0 replies; 6+ messages in thread
From: brian m. carlson @ 2016-07-05 22:45 UTC (permalink / raw)
  To: Dennis Kaarsemaker; +Cc: kpaxton, git

[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-07-05 22:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-05 11:45 Dependencies required for offline installation Kevin Paxton
2016-07-05 17:53 ` Dennis Kaarsemaker
2016-07-05 18:06   ` Kevin Paxton
2016-07-05 19:53     ` Dennis Kaarsemaker
2016-07-05 22:45       ` brian m. carlson
2016-07-05 18:09 ` Konstantin Khomoutov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).