How To Install git-svn on CentOS 7

In this tutorial we learn how to install git-svn on CentOS 7. git-svn is Git tools for importing Subversion repositories

Introduction

In this tutorial we learn how to install git-svn on CentOS 7.

What is git-svn

Git tools for importing Subversion repositories.

We can use yum or dnf to install git-svn on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install git-svn.

Install git-svn on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install git-svn using yum by running the following command:

sudo yum -y install git-svn

Install git-svn on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install git-svn using dnf by running the following command:

sudo dnf -y install git-svn

How To Uninstall git-svn on CentOS 7

To uninstall only the git-svn package we can use the following command:

sudo dnf remove git-svn

References

Summary

In this tutorial we learn how to install git-svn on CentOS 7 using yum and dnf.