However, you will not be able to maintain your Git installation through the yum package manager. Installing Git from the Source #Ĭompiling Git from the source allows you to install the latest Git version and to customize the build options. ![]() That’s it! You have installed Git, and you’re ready to use it. Verify the installation by typing the command below, which will print the Git version: git -versionĪt the time of writing this article, the current version of Git available in the CentOS 8 repositories is 2.18.1. To install Git on your CentOS system: sudo yum install git Run the following command as root or user with sudo privileges The Git package is included in the CentOS’s default repositories. If you want to install the latest stable version of Git from source, scroll down to the Installing Git from the Source ![]() The easiest and the recommended way to install Git is to install it using the yum package management tool. This tutorial explains how to install Git on CentOS 8. Git is originally developed by Linus Torvalds
0 Comments
Leave a Reply. |