Install git or update git without apt-get or yum

I have some linux boxes that do not allow me to use yum to install packages. Instead I need to download the zip or tar and then use a package manager to install the items on my linux boxes.

When you go to the git-scm page, the only way they provide to install git is to use yum, apt-get, etc from the command line.

  • What's wrong with such tools: texlive-latex-base texlive-latex-recommended latex-xcolor pgf latex-beamer prosper texlive tipa?
  • apt-get git on google compute engine
  • installing node.js 0.10.26 in several ways fails under ubuntu 12.04
  • Error occurred while installing openstack after setting FORCE=yes
  • Ubuntu / DigitalOcean - Unable to fetch packages to install git on a fresh install
  • Why is there not just a zip file?
    Where can I find the package to install?
    Has anyone else had this same issue?

  • Error: Cannot Spawn C:\Path To\TortoiseGit\Bin: No such file or directory
  • How do I use an old GPG key when I switch machines or work on different platforms?
  • Choosing GIT or SVN for a very small team
  • do a git pull to overwrite local changes
  • Working in git with directories with the same name but different case in Windows
  • Difference between “Force” and “Override branch if exists” in Tortoise Git
  • One Solution collect form web for “Install git or update git without apt-get or yum”

    I had the same issue before. I tried to install git from source and it works.

    Intalling these packages first:


    Getting the GIT scm source code:


    Compiling the GIT scm from source

    tar xzvf git-latest.tar.gz
    cd git-{date} // edit it
    ./configure --with-curl=/usr/local
    make install
    Git Baby is a git and github fan, let's start git clone.