Install Git 2.35.0 on Ubuntu / Linux Mint / Rocky Linux & Fedora

Git Logo

This tutorial will be helpful for beginners to install git 2.35.0 on Ubuntu 20.04 LTS, Ubuntu 21.10, LinuxMint 20.3, Rocky Linux 8, AlmaLinux 8, and Fedora 35.

Git is the most popular Free and Open-source distributed version control system in the world. It is easy to learn and has a lightning-fast performance.

Git is fast and built to work with the Linux kernel, the latest version of GIT is 2.35.0 and it is a stable version released on 24-JAN-2022.

What’s new in Git 2.35.0?

For a complete changelog refer to the release notes

How to Install Git 2.35.0 on Ubuntu / Linux Mint?

Step 1: Add the Official PPA

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

Step 2: Update the repository

sudo apt update

Step 3: Install Git 2.35.0

sudo apt install git
Install Git 2.35.0 in Ubuntu
Install Git 2.35.0 in Ubuntu

Install Git 2.35.0 in Rocky Linux / AlmaLinux & Fedora

Step 1: Install the required dependencies.

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

Step 2: Download the Git 2.35.0 tar file

wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.35.0.tar.gz

Step 3: Extract the tar file

tar -xf git-2.35.0.tar.gz && cd git-2.35.0/

Step 4: Configure the GIT

make prefix=/usr/local all install

Step 5: Verify the git installation

git --version
Install Git on Fedora and rockylinux

Conclusion

From this tutorial, you have learned how to download and install GIT on Ubuntu 20.04 LTS, Fedora 35, Rocky Linux 8, and AlmaLinux 8

Do let us know your comments and feedback in the comments section below.

Leave a Reply

Secured By miniOrange