vursimply.blogg.se

Install git on rhel 7
Install git on rhel 7











install git on rhel 7

Git is now installed, type the command below to check the version : git-2.33.0]# git -version

install git on rhel 7

Go to the extracted folder and type the commands below : ~]# make configure ~]#./configure -prefix=/usr/local ~]# make install We must now extract the tar.gz file : ~]# tar xzf ~]# llĭrwxrwxr-x. If you don’t wget installed, you can install it with the command below : ~]# yum install wget HTTP request sent, awaiting response… 200 OK HTTP request sent, awaiting response… 302 Found We will use the wget command to download this package with the link copied : ~]# wget If you want to download the latest version then you need to compile git from source, It takes longer and will not be updated and maintained through the yum package manager, but it will allow you to download a newer version than the one available through CentOS repositories.įirst we will need to install some dependencies available from the CentOS repository : ~]# yum groupinstall "Development Tools" ~]# yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-develĪfter installing the necessary dependencies, you can find the version of Git you want to install by visiting this page.Ĭopy the link of the package you want to install :

install git on rhel 7

Git version 1.8.3.1 Install git from source : Once installed, you can check the version with the command below : ~]# git -version Use the command below to install our package with yum or dnf : ~]# dnf install git













Install git on rhel 7