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

How to Make a Pull Request in Github

Git is a Version Control System (VCS). GitHub is a collaboration tool built on top of Git. It is also a Git graphical frontend....
29/12/2020

Install Git on Ubuntu

Git is a distributed version control system. It is used to track changes in source codes during software development. It...
29/12/2020

Git Tutorial for Beginners

Software development is a collaborative job. As a software engineer, you need to share your work with others. But sharing...
29/12/2020
Bài Viết

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

Check proxy trên trang nào chuẩn nhất❓
01/11/2023

Thuê Proxy chạy Google Ads / Cần chú ý gì khi chọn proxy và email chạy G.G ads?
12/10/2023

Thuê proxy 4G ở đâu uy tín, giá rẻ, chất lượng?
05/10/2023

Vì sao cần thuê proxy xoay? Địa chỉ cung cấp proxy xoay uy tín
05/10/2023

Thuê proxy v6 kéo view Youtube ở đâu uy tín, chất lượng?
05/10/2023