How To Install rcs on CentOS 8

rcs is Revision Control System (RCS) file version management tools

Introduction

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

What is rcs

The Revision Control System (RCS) is a system for managing multiple versions of files. RCS automates the storage, retrieval, logging, identification and merging of file revisions. RCS is useful for text files that are revised frequently (for example, programs, documentation, graphics, papers and form letters). The rcs package should be installed if you need a system for managing different versions of files.

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

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

sudo dnf -y install rcs

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

sudo yum -y install rcs

How To Uninstall rcs on CentOS 8

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

sudo dnf remove rcs

rcs Package Contents on CentOS 8

/usr/bin/ci
/usr/bin/co
/usr/bin/ident
/usr/bin/merge
/usr/bin/rcs
/usr/bin/rcsclean
/usr/bin/rcsdiff
/usr/bin/rcsfreeze
/usr/bin/rcsmerge
/usr/bin/rlog
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/95d67ab4a3b540daa2acab06f403614d516a4c
/usr/lib/.build-id/40
/usr/lib/.build-id/40/f9ed8a03dd9fb3669f5b8ea4f3dc24a26a7459
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/a3fd30bafa1d9afae8ce30db50b412fe809261
/usr/share/doc/rcs
/usr/share/doc/rcs/COPYING
/usr/share/doc/rcs/ChangeLog
/usr/share/doc/rcs/NEWS
/usr/share/doc/rcs/README
/usr/share/doc/rcs/THANKS
/usr/share/info/rcs.info.gz
/usr/share/man/man1/ci.1.gz
/usr/share/man/man1/co.1.gz
/usr/share/man/man1/ident.1.gz
/usr/share/man/man1/merge.1.gz
/usr/share/man/man1/rcs.1.gz
/usr/share/man/man1/rcsclean.1.gz
/usr/share/man/man1/rcsdiff.1.gz
/usr/share/man/man1/rcsfreeze.1.gz
/usr/share/man/man1/rcsmerge.1.gz
/usr/share/man/man1/rlog.1.gz
/usr/share/man/man5/rcsfile.5.gz

References

Summary

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