Install GIT on RHEL5 without Internet ##################################### :date: 2014-02-18 13:37 :tags: rhel, git I was facing the problem that i desperately needed git on one of the development Redhat 5 systems which had no direct internet connection. As EPEL is an open repository to retrieve all kinds of cool packages also Git is available there. All i needed to do was to find out the dependencies, copy the packages to the host and you are done. You need the following packages: - git (EPEL) - perl-Git (dep) (EPEL) - perl-error (EPEL) - perl-termreadkey (EPEL) - perl (installed in my case) (core) Today (2014-02-18) i downloaded the following packages: .. code-block:: bash #?/bin/sh # on internet-available node: wget 'http://mirror.bytemark.co.uk/fedora/epel/5Server/x86_64/perl-Error-0.17010-1.el5.noarch.rpm' \ 'http://mirror.bytemark.co.uk/fedora/epel/5Server/x86_64/perl-TermReadKey-2.30-4.el5.x86_64.rpm' \ 'http://mirror.bytemark.co.uk/fedora/epel/5Server/x86_64/perl-Git-1.8.2.1-1.el5.x86_64.rpm' \ 'http://mirror.bytemark.co.uk/fedora/epel/5Server/x86_64/git-1.8.2.1-1.el5.x86_64.rpm' \ # you may need this as well. # http://mirror.bytemark.co.uk/centos/5.10/os/x86_64/CentOS/perl-5.8.8-41.el5.x86_64.rpm scp *.rpm :~ ssh sudo rpm -i *.rmp If they go 404 have a look at http://mirror.bytemark.co.uk/fedora/epel/5Server/x86_64/ for EPEL (replace 5Server with 6Server for RHEL6) and http://mirror.bytemark.co.uk/centos/ for core packages for RHEL.