new to git

hi all, i have linux-64 bit server which i installed on vm.  wanted to install git in linux boss without internet…  i meant to say that without using yum. can you please guide me.

i got the below steps in google. but, not working for me

PATH=$PATH:/opt/soft/GIT/git-2.9.5/usr/bin

PATH=$PATH:/opt/soft/GIT/git-2.9.5

export PATH=$PATH:/opt/soft/GIT/git-2.9.5

make prefix=/usr/local/git all

echo $CC

If you’re not carrying git around with your usb or something… You still definitely need internet. yum is just the package manager. Seems like you’d like to compile git by yourself for good reason. You can do that.

  1. Get to the git repository link: https://github.com/git/git

  2. Clone it to your local computer: https://help.github.com/articles/cloning-a-repository/

  3. Look at the README.md at the front page -> You’ll find this: https://github.com/git/git/blob/master/INSTALL

  4. Follow the guide

Good luck.