
You can configure and then take the clone of your repository and use the GIT. $ git config -global user.email " "īy using the –list option, you can check the configured user name and email ID. So we have configured the username for the git, now configure the user email ID with the parameter “user.email”. $ git config -global user.name "tastethelinux"

To configure GIT on the local system, we will use the config option with the git command. $ git -version OUTPUT: git version 2.32.0 $ sudo make prefix=/usr/local installĪfter that just create a soft link to use the GIT command, if not created it will give the error “git command not found” $ sudo ln -s /usr/local/bin/git /usr/bin/gitĪfter creating the soft link will check the version for the GIT. Once we have done the compilation successfully, we will install all the packages. $ cd git-* $ sudo make prefix=/usr/local all Now go into the folder, and compile the package. So, we have downloaded some library packages, now download the git source code via the wget commandĮxtracting Source Code for GIT $ tar -zxvf v2.32.0.tar.gz $ sudo dnf install gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel gcc autoconf -y So let’s install git via source code then we have to download the git source from GitHub, but before that, we have to install some of the dependencies. How to Install GIT on CentOS 8 Linux via Source Code. The Output “git version 2.27.0” is the git version installed via “dnf command”, let’s install via Source Code $ git -version OUTPUT: git version 2.27.0 Once installed, we will check the version for the GIT, by using the git command on the terminal. So the above command will download the GIT with its dependencies packages and install all the required packages for GIT.

$ sudo dnf update -yĪfter updating the repositories, we will use the dnf command for the installation. Let’s update the repositories on CentOS 8 first, and then we will install GIT. How to Install GIT on CentOS 8 Linux via Command Line.

Install GIT on CentOS 8 via Source Code.Install GIT on CentOS 8 via the command line.Both the ways are a little bit different from one another. We will use two ways to Install Git in CentOS 8. We can create the GIT repositories for the Application and keep the repo’s on GitLab, GitHub, Bit bucket, and many more. The main advantages of the GIT are that we can merge the source codes, revert the code, also we can manage the different version controls. GIT is where many developers can work on the same source code with the Sync. GIT is the Version control system used to manage the source code of an application. Hello friends, Ashish on the behalf of Tastethelinux, will present “how to install GIT on CentOS 8 Linux.”
