summary
Install git on linux.
Git installation
It’s a handy tool for file version control.
It is a tool that is indispensable for software development.
Development installation
Install packages that depend on your development tools.
Many packages will be loaded, so install them.
sudo dnf group install 'Development Tools'
Install this package as well.
sudo yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMaker
Install wget.
sudo yum install wget
Git installation
Check the latest version
Install
Download the latest version
Create arbitrary folder
mkdir ~/temp
Move to folder
cd ~/temp
Download the latest version
sudo wget https://www.kernel.org/pub/software/scm/git/git-2.33.0.tar.gz
Unzip the compressed file
tar -zxf git-2.33.0.tar.gz
Move to folder
cd git-2.33.0
Compile
make prefix=/usr/local install
Git Install
sudo make prefix=/usr/local install
Check version
git version
good job for today.