How To Install cvs on CentOS 7

In this tutorial we learn how to install cvs on CentOS 7. cvs is Concurrent Versions System

Introduction

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

What is cvs

CVS (Concurrent Versions System) is a version control system that can record the history of your files (usually, but not always, source code). CVS only stores the differences between versions, instead of every version of every file you have ever created. CVS also keeps a log of who, when, and why changes occurred. CVS is very helpful for managing releases and controlling the concurrent editing of source files among multiple authors. Instead of providing version control for a collection of files in a single directory, CVS provides version control for a hierarchical collection of directories consisting of revision controlled files. These directories and files can then be combined together to form a software release.

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

Install cvs on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install cvs

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

sudo dnf -y install cvs

How To Uninstall cvs on CentOS 7

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

sudo dnf remove cvs

References

Summary

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