Install Git 2.30.0 in Ubuntu 20.04 / Linux Mint / CentOS

Git Logo

Git a free and open-source distributed version control system designed to handle everything from small to large projects with speed and efficiency. It is a client for the Popular GitHub.

This tutorial will be helpful for the beginners to install git 2.30.0 in Ubuntu 20.04 LTS, Ubuntu 20.10 LTS, CentOS 8.X, and Linux Mint 20

Related:  Install Git 2.28.0 in Ubuntu 20.04 / Linux Mint / CentOS

The latest version of GIT is 2.30.0 which is a stable version and it is released on 27th Dec 2020.

What’s new in Git 2.30.0?

For a complete changelog refer to the release notes

How to Install Git 2.30.0 in Ubuntu / Linux Mint & CentOS?

Two ways we can install Git

Method 1: Via PPA

Step 1: Add the Official PPA by GIT

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

Step 2: Update the repository

sudo apt update

Step 3: Install Git 2.30.0

sudo apt install git

Method 2: Via Source file

Step 1: Install the required dependencies

For Ubuntu

apt install libssl-dev libcurl4-gnutls-dev zlib1g-dev

For CentOS

yum install openssl-devel curl-devel expat-devel gettext-devel zlib-devel perl-ExtUtils-MakeMaker

Step 2: Download the source file using the below command


Step 3: Extract the package and configure it

tar -xvzf git-2.30.0.tar.gz && cd git-2.30.0 && ./configure –prefix=/usr/local/git

Step 4: Compile the GIT

make && make install

Verify the installed version using the below command

git –version

Leave a Reply

Secured By miniOrange