
- Kali Linux Tutorial
- Kali Linux - Home
- Installation & Configuration
- Information Gathering Tools
- Vulnerability Analyses Tools
- Kali Linux - Wireless Attacks
- Website Penetration Testing
- Kali Linux - Exploitation Tools
- Kali Linux - Forensics Tools
- Kali Linux - Social Engineering
- Kali Linux - Stressing Tools
- Kali Linux - Sniffing & Spoofing
- Kali Linux - Password Cracking Tools
- Kali Linux - Maintaining Access
- Kali Linux - Reverse Engineering
- Kali Linux - Reporting Tools
- Kali Linux Useful Resources
- Kali Linux - Quick Guide
- Kali Linux - Useful Resources
- Kali Linux - Discussion
How to install the latest version of Git on CentOS 7.x/6.x?
Installing the latest version of Git on CentOS can be done in many ways. Below are three approaches for the same.
Approach 1
Commands
yum install epel-release yum remove git rpm -U https://centos7.iuscommunity.org/ius-release.rpm yum install git2u git --version
Output
immukul@192 lib % git --version git version 2.29.2
Approach 2
Commands
yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker export GIT_VERSION=2.29.2 mkdir /root/git cd /root/git wget "https://www.kernel.org/pub/software/scm/git/git-2.29.2.tar.gz" tar xvzf "git-2.29.2.tar.gz" cd git-2.29.2 make prefix=/usr/local all make prefix=/usr/local install yum remove -y git git --version
Output
immukul@192 git-2.29.2 % git --version git version 2.29.2
Approach 3
Commands
sudo yum -y install https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.7-1.x86_64.rpm sudo yum install git git --version
Output
immukul@192 git-2.29.2 % git --version git version 2.29.2
- Related Articles
- How to install docker on centos 7
- How to Secure The SSHD Using Fail2Ban on RHEL 7.x/CentOS 7.x
- How to install the latest PowerShell module version?
- How do I install selenium latest version?
- Migrating PHP 5.x to PHP 7 on CentOS 7
- How to Install and Configure Ansible on CentOS 7
- How To Install and Configure MongoDB on CentOS 7
- How To Install Go (Golang) 1.7 on CentOS 7
- How To Use Systemctl On CentOS 7.x or RHEL Linux 7
- How to install graylog 1 3graylog2 on centos 7rhel 7
- How to install install mariadb 10 2 centos 7
- How to install and configure prometheus using docker on centos 7
- How to install and use docker and containers on centos 7
- How to Install and Configure MS SQL (Beta) on CentOS 7
- How to setup hostname in centos 7 x or rhel 7 x linux versions

Advertisements