Skip to content

Roger Hosto

Good Talk

Menu
  • Home
  • Blogs
    • Databases Administration
      • MySQL
      • NoSQL
    • Development
    • Open Source Software
    • System Administration
  • Resume
  • About
Menu

Install Git From Source On Linux

Posted on October 22, 2011 by webgeek

If you are like me and want to install git-core core from source instead of one to the many binary packages out or you just have a distro that does have a binary for it. Here is what you will need to get it installed.

  • POSIX-compliant shell
  • GCC – gnu c compiler
  • GNU Interactive Tools
  • Perl 5.8 or Later
  • Openssl
  • Openssh
  • zlib
  • libcurl
  • expat

Once all you have verified or install on the required packages. You can download the source fromĀ Git Homepage.

shell$ wget http://git-core.googlecode.com/files/git-1.x.x.tar.gz

shell$ tar -zxf git-1.x.x.tar.gz

shell$ cd git-1.x.x

shell$ ./configure –prefix=[install_path]

shell$ make all

shell$ sudo make install

A little old school and not the hard.

Resources:
http://git-scm.com/
http://ruby.about.com/od/git/a/2.htm

Category: Development, System Administration

Leave a Reply

You must be logged in to post a comment.

  • Back to Basics: ORM and Its Impact on Database and Data Architecture
  • MySQL Error: 1062 'Duplicate entry' Error
  • Installing MariaDB 10.1 on CentOS 6.8
  • Linux Mint
  • Querying Apache Hadoop Resource Manager with Python.
  • LinkedIn
© 2026 Roger Hosto | Powered by Minimalist Blog WordPress Theme