Centos git server5/20/2023 In this section, we shall cover how to set up a Git account with correct user information such as name and email address to avoid any commit errors, and the git config command is used to do that. Suggested Read: 11 Best Git Clients and Git Repository Viewers for Linux Set Up Git Account in Linux # yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-develĪfter you have installed required software dependencies, go to the official Git release page and grab the latest version and compile it from source using following series of command: # wget -O Install Git from Sourceīefore you begin, first you need to install required software dependencies from the default repositories, along with the utilities that needed to build a binary from source: # yum groupinstall "Development Tools" ![]() If you looking to have a most recent version of Git, consider compiling from source using following instructions. Important: Installing Git from default repositories will give you older version. Next, install Git by typing the following command: # yum install gitĪfter git successfully installed, you can issue the following command to display the version of Git installed: # git -version We shall install Git from the system default repositories, and make sure that your system is up-to-date with the latest version of packages by running the YUM package manager update command below: # yum update In this how-to guide, we shall move through the necessary steps of installing Git on CentOS/RHEL 7/6 and Fedora 20-24 Linux distributions along with how to configure Git so that you can start participating right away.
0 Comments
Leave a Reply. |