Installing git on Oracle Linux/RHEL

There is no direct way of installing git on Oracle Linux/RHEL as yum repositories do not have git and git-core packages and there is no rpm package available.
Start terminal and download tar bundle of git from here :-
In my case,



Then extract the two files using following commands (or via the graphical shell)

tar xvfz git-0.7.tar.gz

tar xvfz git-core-0.99.6.tar.gz

build the packages using

cd git-0.7


And install using

make install

Similarly for git-core

cd git-core-0.99.6


make install

If make install complains that /home//bin is not found create the bin directory inside your home directory and then run make install. Later in /home//bin use sudo make install /bin


One thought on “Installing git on Oracle Linux/RHEL

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s