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

Git Logo

This tutorial will be helpful for beginners to install Git 2.36 on Ubuntu 20.04 LTS, Ubuntu 21.10, Ubuntu 22.04 LTS, 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.36.0 and it is a stable version released on 18-APR-2022.

What’s new in Git 2.36.0?

For a complete changelog refer to the release notes

How to Install Git 2.36 on Ubuntu / Linux Mint?

Step 1: Add the Official PPA

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

Step 2: Install Git 2.36

sudo apt update && sudo apt install git
install Git 2.36 on ubuntu

Install Git 2.36 on 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.36.0 tar file from the downloads page or use the below command

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

Step 3: Extract the tar file and configure the GIT

tar -xf git-2.36.0.tar.gz && mv git-2.36.0/ /opt && cd git-2.36.0/

Step 4: Configure the GIT

make prefix=/usr/local all install

Step 5: Verify the GIT Installation

git --version

Conclusion

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

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

If my articles on TipsonUNIX have helped you, kindly consider buying me a coffee as a token of appreciation

orange-button

Thank You for your support!!

One Response

  1. charles selrachski April 20, 2022

Leave a Reply

Secured By miniOrange