Now install it sudo make prefix=/usr/local install Then unzip this file tar -xvzf git-2.37.0.tar.gzĪccess the folder and compile the code inside it cd git-2.37.0 Next, download the source code for the latest stable version of git. To achieve this, you first have to install some necessary packages: sudo dnf install gettext-devel curl-devel wget expat-devel openssl-devel perl-CPAN perl-devel zlib-devel unzip tar cmake gcc make If you want to have the latest stable version of git, a good way is to compile the git source code. git -version Optional: Get the latest stable version of git This will start the whole process and when you are done, you can verify the version you have installed. sudo dnf info git Install Git on CentOS 9 StreamĪnd you will see information about this package. Thereafter, you can search for the git package to get additional information about it. So, open a terminal and then, update the whole system sudo dnf update And of course, CentOS 9 Stream is no exception. Git is such a popular tool that it is present in the official repositories of many Linux distributions. ![]() So as you can see, it is quite efficient and useful to use.
0 Comments
Leave a Reply. |