Sunday, October 08, 2017

Build Git From Source Code on Red Hat Enterprise Linux Server

Redhat Enterprise Linux provides Redhat Developer Toolset, which allows you to install Git. However, it is usually an older version. If you want the latest version of Git on your Server, then building Git from sources is the easiest way. Follow these steps to install Git from sources on Red Hat Enterprise Linux Server release 7.3. On our server, the following commands were run by the root user.
  1. To install Git from source code, you must need to have the following libraries and tools that Git depends on: gcc, perl-ExtUtils-MakeMaker, autotools, curl, zlib, openssl, expat, and libiconv. Run the following commands to install these requirements
    yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel
    yum install gcc perl-ExtUtils-MakeMaker
  2. Download the latest Git sources from https://www.kernel.org/pub/software/scm/git/
  3. Extract the source code into /usr/src
    cp git-2.9.4.tar.gz /usr/src/
    
    cd /usr/src/
     
    tar xzf git-2.9.4.tar.gz
  4. Run the following commands to install git
    cd git-2.9.4
      
    make prefix=/usr/local/git all
       
    make prefix=/usr/local/git install
Once you are done with these steps, you should be able to run git commands normally as shown below
git clone git://git.kernel.org/pub/scm/git/git.git

14 comments:

  1. Awesome article I really impress it’s very informative and useful.Thanks

    Custom Software Development Sydney

    ReplyDelete
  2. Excellent information by the author explanation
    Best Play and Pre School for kids in Hyderabad,India. To give your kid a best environment and learning it is the right way to join in play and pre school were kids can build there physically, emotionally and mentally skills developed. We provide programs to kids like Play Group, Nursery, Sanjary Junior, Sanjary Senior and Teacher training Program.
    Preschool in hyderabad

    ReplyDelete
  3. Thanks for this amazing post its help me a lot to solve my issues click here to download Kinemaster Mod APK

    ReplyDelete
  4. Thanks Admin For That Great article. I have read that article so many time for that i have thought its beautifull article ever i have read. you may also like Kinemaster Pro Mod without Watermark Apk.

    ReplyDelete
  5. Thanks for sharing. I found a lot of interesting information here. A really good post, very thankful and hopeful that you will write many more posts like this one. health spotlight

    ReplyDelete
  6. Hey, I really like this blog and it was very helpful Beard Transplant

    ReplyDelete
  7. Data providers who are highly skilled and provide useful data for your marketing and sales departments will help you to generate and nurture the maximum number of leads on your business platform. List of sme companies that have great business insights and high-quality data will be able to identify valuable prospects.

    ReplyDelete
  8. You have great ideas to share something like this. Thanks for share this info.

    ReplyDelete
    Replies
    1. moviesverse is a pirated movie website, which leaks several feature films and series online without taking any approval from the film producers and directors.

      Delete
  9. As a matter of some importance, the Magento software engineer pay and cost to recruit Magento designers rely upon abilities and expert experience. In any case, you can likewise see tremendous contrasts in it as per the country. Generally speaking, to enlist Magento web designer in America and Western Europe is more costly, than in Eastern Europe and Asia. We should contrast the typical rates with employ affirmed Magento designer from various nations of the world. Luckily, with the improvement of web advancements, the choice to enlist Magento master will be as agreeable and useful, as working with the in-house representatives. In this way, you can pick the entertainers by their abilities, experience, and Magento engineer pay in your objective country. When you enlist Magento coder from Ukraine, you'll gain admittance to the colossal pool of gifts for a lower cost of Magento engineer remote. You can set aside to half of the spending plan, and get a result of extraordinary quality. That is the reason Ukraine is one of the most famous IT rethinking objections in Europe and known for a reasonable expense of Magento software engineers>> hire dedicated magento developer

    ReplyDelete
  10. moviesverse is a pirated movie website, which leaks several feature films and series online without taking any approval from the film producers and directors.

    ReplyDelete

Popular Posts