Install Git 2.11.0 on Ubuntu, Linux Mint, CentOS, RHEL, Fedora

28/12/2020
Git

Git 2.11.0 is the most recent stable update and was released back in November 2016. Git is a free easy to use version control system while it has a tiny footprint with lightning fast performance. Version control for those who may not know, is a system that records changes to a file or a set of files over a period of time so that you can recall previous specific versions when needed.

Git outclasses the likes of Subversion, CVS, Perforce, and ClearCase with some niche features like cheap local branching, convenient staging areas, and multiple workflows.

See Changelog for recent updates

How to Install GIT 2.11.0 on Ubuntu 17.04, Ubuntu 16.10, Ubuntu 16.04, Ubuntu 15.04, Ubuntu 14.04, Linux Mint, Debian

sudo apt-add-repository ppa:git-core/ppa  sudo apt-get update && sudo apt-get install git

How to remove GIT from Ubuntu 17.04, Ubuntu 16.10, Ubuntu 16.04, Ubuntu 15.04, Ubuntu 14.04, Linux Mint, Debian

sudo add-apt-repository --remove ppa:git-core/ppa  sudo apt-get remove git

How to Install GIT 2.11.0 on CentOS, RHEL, Fedora

We will be compiling this package on the above OSes. But if git repo is up to date, then simply run the following command to install straight “sudo yum install git“. This is the quickest way to install git but since sometimes, if the repo is not up to date, then follow the steps below to compile the package

  • First of all, install required dependencies
sudo yum groupinstall "Development Tools"  sudo yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel
  • Download the package from github
wget https://github.com/git/git/archive/v2.11.0.tar.gz
  • Untar the downloaded package
tar -zxf git.ta.gz
  • Change directory to the git folder
cd git-*
  • Run the configuration and set a destination path where to install package by declaring the prefix
make configure  ./configure --prefix=/usr/local
  • Finally, to complete the install, run the folowing command and check installed version
sudo make install  git --version
ONET IDC thành lập vào năm 2012, là công ty chuyên nghiệp tại Việt Nam trong lĩnh vực cung cấp dịch vụ Hosting, VPS, máy chủ vật lý, dịch vụ Firewall Anti DDoS, SSL… Với 10 năm xây dựng và phát triển, ứng dụng nhiều công nghệ hiện đại, ONET IDC đã giúp hàng ngàn khách hàng tin tưởng lựa chọn, mang lại sự ổn định tuyệt đối cho website của khách hàng để thúc đẩy việc kinh doanh đạt được hiệu quả và thành công.
Bài viết liên quan

GitLab Container Registry Setup

In our last post we showed you how you can set up a GitLab instance to manage your organization’s or your personal projects....
28/12/2020

Git: How to Revert Last Commit?

Git is an effective tool that keeps track of your code. And one of the great features of the tool is that you can easily...
28/12/2020

Install SmartGit Git Client on Ubuntu, Linux Mint, CentOS, Fedora, RHEL

SmartGit is an efficient Git Client user interface with support for GitHub, Pull Requests + Comments, SVN as well as Mercurial....
28/12/2020
Bài Viết

Bài Viết Mới Cập Nhật

SỰ KHÁC BIỆT GIỮA RESIDENTIAL PROXY VÀ PROXY DATACENTER
17/02/2024

Mua Proxy v6 US Private chạy PRE, Face, Insta, Gmail
07/01/2024

Mua shadowsocks và hướng dẫn sữ dụng trên window
05/01/2024

Tại sao Proxy Socks lại được ưa chuộng hơn Proxy HTTP?
04/01/2024

Mua thuê proxy v4 nuôi zalo chất lượng cao, kinh nghiệm tránh quét tài khoản zalo
02/01/2024