![]() Yum install -y gcc perl-ExtUtils-MakeMakerĭnf install -y curl-devel expat-devel gettext-devel openssl-devel zlib-develĭnf install -y gcc perl-ExtUtils-MakeMakerĭownload the latest Git installation from and unpack it. Yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel If you need the latest release, consider compiling git from source. ![]() This is the fastest method, but the Git version that is installed this way may be older than the newest version available. Install the prerequisite packages and remove the any current Git installation. Step 1 Installing Git The easiest way to install Git is from CentOS’s default software repositories. ![]() Remove any existing git installations, and install git from an RPM repo. Make sure you've enabled the EPEL repository. The same method should work for all the RHEL clones (Oracle Linux, CentOS) and Fedora. This article describes the manual installation of Git 2.x on Linux. ![]() The version of Git available from the Yum repositories is typically quite old. Home » Articles » Linux » Here Git 2.x Installation on Linux ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |