How To Install cvs on CentOS 8

cvs is Concurrent Versions System

Introduction

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

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 8. In this tutorial we discuss both methods but you only need to choose one of method to install cvs.

Install cvs on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install cvs

Install cvs on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install cvs

How To Uninstall cvs on CentOS 8

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

sudo dnf remove cvs

cvs Package Contents on CentOS 8

/etc/pam.d/cvs
/etc/profile.d/cvs.csh
/etc/profile.d/cvs.sh
/usr/bin/cvs
/usr/bin/cvsbug
/usr/lib/.build-id
/usr/lib/.build-id/94
/usr/lib/.build-id/94/86cba82177afeab59c379c0a39c6f561720caf
/usr/lib/systemd/system/cvs.socket
/usr/lib/systemd/system/cvs.target
/usr/lib/systemd/system/[email protected]
/usr/share/doc/cvs
/usr/share/doc/cvs/AUTHORS
/usr/share/doc/cvs/BUGS
/usr/share/doc/cvs/DEVEL-CVS
/usr/share/doc/cvs/HACKING
/usr/share/doc/cvs/MINOR-BUGS
/usr/share/doc/cvs/NEWS
/usr/share/doc/cvs/PROJECTS
/usr/share/doc/cvs/README
/usr/share/doc/cvs/TODO
/usr/share/info/cvs.info-1.gz
/usr/share/info/cvs.info-2.gz
/usr/share/info/cvs.info.gz
/usr/share/info/cvsclient.info.gz
/usr/share/licenses/cvs
/usr/share/licenses/cvs/COPYING
/usr/share/licenses/cvs/COPYING.LIB
/usr/share/man/man1/cvs.1.gz
/usr/share/man/man5/cvs.5.gz
/usr/share/man/man5/cvs.csh.5.gz
/usr/share/man/man5/cvs.sh.5.gz
/usr/share/man/man8/cvsbug.8.gz
/var/cvs

References

Summary

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