How To Install subversion on CentOS 7

In this tutorial we learn how to install subversion on CentOS 7. subversion is A Modern Concurrent Version Control System

Introduction

In this tutorial we learn how to install subversion on CentOS 7.

What is subversion

Subversion is a concurrent version control system which enables one or more users to collaborate in developing and maintaining a hierarchy of files and directories while keeping a history of all changes. Subversion only stores the differences between versions, instead of every complete file. Subversion is intended to be a compelling replacement for CVS. Subversion is a concurrent version control system which enables one or more users to collaborate in developing and maintaining a hierarchy of files and directories while keeping a history of all changes. Subversion only stores the differences between versions, instead of every complete file. Subversion is intended to be a compelling replacement for CVS.

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

Install subversion on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install subversion using yum by running the following command:

sudo yum -y install subversion

Install subversion 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 subversion using dnf by running the following command:

sudo dnf -y install subversion

How To Uninstall subversion on CentOS 7

To uninstall only the subversion package we can use the following command:

sudo dnf remove subversion

References

Summary

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