How To Install rancid on Rocky Linux 8

In this tutorial we learn how to install rancid on Rocky Linux 8. rancid is Really Awesome New Cisco confIg Differ

Introduction

In this tutorial we learn how to install rancid on Rocky Linux 8.

What is rancid

RANCID monitors a router’s (or more generally a device’s) configuration, including software and hardware (cards, serial numbers, etc) and uses CVS (Concurrent Version System), Subversion, or Git to maintain history of changes.

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

Install rancid on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install rancid

Install rancid on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install rancid

How To Uninstall rancid on Rocky Linux 8

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

sudo dnf remove rancid

rancid Package Contents on Rocky Linux 8

/etc/cron.d/rancid
/etc/logrotate.d/rancid
/etc/rancid
/etc/rancid/lg.conf
/etc/rancid/rancid.conf
/etc/rancid/rancid.types.base
/etc/rancid/rancid.types.conf
/usr/bin/rancid
/usr/bin/rancid-cvs
/usr/bin/rancid-fe
/usr/bin/rancid-run
/usr/lib/.build-id
/usr/lib/.build-id/d1
/usr/lib/.build-id/d1/3d30a97c4a3babc7fd24c0e54fc6eb6d1464aa
/usr/lib/.build-id/ff
/usr/lib/.build-id/ff/a5f97db9a5271badeab2d80f8825639ca4e7c9
/usr/libexec/rancid
/usr/libexec/rancid/a10login
/usr/libexec/rancid/agmrancid
/usr/libexec/rancid/alogin
/usr/libexec/rancid/anlogin
/usr/libexec/rancid/arancid
/usr/libexec/rancid/avologin
/usr/libexec/rancid/avorancid
/usr/libexec/rancid/blogin
/usr/libexec/rancid/brancid
/usr/libexec/rancid/brlogin
/usr/libexec/rancid/cat5rancid
/usr/libexec/rancid/clogin
/usr/libexec/rancid/control_rancid
/usr/libexec/rancid/csblogin
/usr/libexec/rancid/cssrancid
/usr/libexec/rancid/dllogin
/usr/libexec/rancid/elogin
/usr/libexec/rancid/erancid
/usr/libexec/rancid/f5rancid
/usr/libexec/rancid/flogin
/usr/libexec/rancid/fnlogin
/usr/libexec/rancid/fxlogin
/usr/libexec/rancid/hlogin
/usr/libexec/rancid/hpuifilter
/usr/libexec/rancid/hrancid
/usr/libexec/rancid/htlogin
/usr/libexec/rancid/htrancid
/usr/libexec/rancid/jerancid
/usr/libexec/rancid/jlogin
/usr/libexec/rancid/lg.cgi
/usr/libexec/rancid/lgform.cgi
/usr/libexec/rancid/mrancid
/usr/libexec/rancid/mrvlogin
/usr/libexec/rancid/mtlogin
/usr/libexec/rancid/mtrancid
/usr/libexec/rancid/nlogin
/usr/libexec/rancid/noklogin
/usr/libexec/rancid/nrancid
/usr/libexec/rancid/nslogin
/usr/libexec/rancid/nsrancid
/usr/libexec/rancid/panlogin
/usr/libexec/rancid/par
/usr/libexec/rancid/plogin
/usr/libexec/rancid/rancid
/usr/libexec/rancid/rancid-cvs
/usr/libexec/rancid/rancid-fe
/usr/libexec/rancid/rancid-run
/usr/libexec/rancid/rblogin
/usr/libexec/rancid/rivlogin
/usr/libexec/rancid/rivrancid
/usr/libexec/rancid/rrancid
/usr/libexec/rancid/rtftpcopy
/usr/libexec/rancid/tlogin
/usr/libexec/rancid/trancid
/usr/libexec/rancid/ulogin
/usr/libexec/rancid/wlogin
/usr/libexec/rancid/xilogin
/usr/libexec/rancid/xirancid
/usr/libexec/rancid/xlogin
/usr/libexec/rancid/zrancid
/usr/share/doc/rancid
/usr/share/doc/rancid/CHANGES
/usr/share/doc/rancid/FAQ
/usr/share/doc/rancid/README
/usr/share/doc/rancid/README.lg
/usr/share/doc/rancid/Todo
/usr/share/doc/rancid/cloginrc.sample
/usr/share/licenses/rancid
/usr/share/licenses/rancid/COPYING
/usr/share/man/man1/agmrancid.1.gz
/usr/share/man/man1/alogin.1.gz
/usr/share/man/man1/anlogin.1.gz
/usr/share/man/man1/arancid.1.gz
/usr/share/man/man1/avologin.1.gz
/usr/share/man/man1/avorancid.1.gz
/usr/share/man/man1/blogin.1.gz
/usr/share/man/man1/brancid.1.gz
/usr/share/man/man1/cat5rancid.1.gz
/usr/share/man/man1/clogin.1.gz
/usr/share/man/man1/control_rancid.1.gz
/usr/share/man/man1/csblogin.1.gz
/usr/share/man/man1/cssrancid.1.gz
/usr/share/man/man1/dllogin.1.gz
/usr/share/man/man1/elogin.1.gz
/usr/share/man/man1/erancid.1.gz
/usr/share/man/man1/f5rancid.1.gz
/usr/share/man/man1/flogin.1.gz
/usr/share/man/man1/fnlogin.1.gz
/usr/share/man/man1/hlogin.1.gz
/usr/share/man/man1/hrancid.1.gz
/usr/share/man/man1/htlogin.1.gz
/usr/share/man/man1/htrancid.1.gz
/usr/share/man/man1/jerancid.1.gz
/usr/share/man/man1/jlogin.1.gz
/usr/share/man/man1/lg_intro.1.gz
/usr/share/man/man1/mrancid.1.gz
/usr/share/man/man1/mrvlogin.1.gz
/usr/share/man/man1/mtlogin.1.gz
/usr/share/man/man1/mtrancid.1.gz
/usr/share/man/man1/nlogin.1.gz
/usr/share/man/man1/noklogin.1.gz
/usr/share/man/man1/nrancid.1.gz
/usr/share/man/man1/nslogin.1.gz
/usr/share/man/man1/nsrancid.1.gz
/usr/share/man/man1/panlogin.1.gz
/usr/share/man/man1/par.1.gz
/usr/share/man/man1/plogin.1.gz
/usr/share/man/man1/rancid-cvs.1.gz
/usr/share/man/man1/rancid-run.1.gz
/usr/share/man/man1/rancid.1.gz
/usr/share/man/man1/rancid_intro.1.gz
/usr/share/man/man1/rivlogin.1.gz
/usr/share/man/man1/rivrancid.1.gz
/usr/share/man/man1/rrancid.1.gz
/usr/share/man/man1/tlogin.1.gz
/usr/share/man/man1/trancid.1.gz
/usr/share/man/man1/ulogin.1.gz
/usr/share/man/man1/wlogin.1.gz
/usr/share/man/man1/xilogin.1.gz
/usr/share/man/man1/xirancid.1.gz
/usr/share/man/man1/xlogin.1.gz
/usr/share/man/man1/zrancid.1.gz
/usr/share/man/man3/rancid.3.gz
/usr/share/man/man5/cloginrc.5.gz
/usr/share/man/man5/lg.conf.5.gz
/usr/share/man/man5/rancid.conf.5.gz
/usr/share/man/man5/rancid.types.base.5.gz
/usr/share/man/man5/rancid.types.conf.5.gz
/usr/share/man/man5/router.db.5.gz
/usr/share/perl5/vendor_perl/rancid
/usr/share/perl5/vendor_perl/rancid/acos.pm
/usr/share/perl5/vendor_perl/rancid/aeos.pm
/usr/share/perl5/vendor_perl/rancid/arbor.pm
/usr/share/perl5/vendor_perl/rancid/arcos.pm
/usr/share/perl5/vendor_perl/rancid/bigip.pm
/usr/share/perl5/vendor_perl/rancid/ciscowlc.pm
/usr/share/perl5/vendor_perl/rancid/dell.pm
/usr/share/perl5/vendor_perl/rancid/dnos10.pm
/usr/share/perl5/vendor_perl/rancid/dnos9.pm
/usr/share/perl5/vendor_perl/rancid/edgemax.pm
/usr/share/perl5/vendor_perl/rancid/edgerouter.pm
/usr/share/perl5/vendor_perl/rancid/exos.pm
/usr/share/perl5/vendor_perl/rancid/fortigate.pm
/usr/share/perl5/vendor_perl/rancid/foundry.pm
/usr/share/perl5/vendor_perl/rancid/fss2.pm
/usr/share/perl5/vendor_perl/rancid/fxos.pm
/usr/share/perl5/vendor_perl/rancid/ios.pm
/usr/share/perl5/vendor_perl/rancid/iossb.pm
/usr/share/perl5/vendor_perl/rancid/iosshtech.pm
/usr/share/perl5/vendor_perl/rancid/iosxr.pm
/usr/share/perl5/vendor_perl/rancid/junos.pm
/usr/share/perl5/vendor_perl/rancid/mrv.pm
/usr/share/perl5/vendor_perl/rancid/nxos.pm
/usr/share/perl5/vendor_perl/rancid/panos.pm
/usr/share/perl5/vendor_perl/rancid/rancid.pm
/usr/share/perl5/vendor_perl/rancid/rbt.pm
/usr/share/perl5/vendor_perl/rancid/smc.pm
/usr/share/perl5/vendor_perl/rancid/sros.pm
/usr/share/perl5/vendor_perl/rancid/vrp.pm
/usr/share/perl5/vendor_perl/rancid/wavesvros.pm
/usr/share/rancid
/usr/share/rancid/CHANGES
/usr/share/rancid/COPYING
/usr/share/rancid/FAQ
/usr/share/rancid/README
/usr/share/rancid/README.lg
/usr/share/rancid/README.misc
/usr/share/rancid/UPGRADING
/usr/share/rancid/cisco-load.exp
/usr/share/rancid/cisco-reload.exp
/usr/share/rancid/cloginrc.sample
/usr/share/rancid/downreport
/usr/share/rancid/getipacctg
/usr/share/rancid/index.html
/usr/share/rancid/lg.conf.sample
/usr/share/rancid/lgnotes.html
/usr/share/rancid/rancid-cvspurge
/usr/share/rancid/rancid.conf.sample
/usr/share/rancid/rancid.types.conf
/usr/share/rancid/rtrfilter
/var/log/rancid
/var/log/rancid/old
/var/rancid

References

Summary

In this tutorial we learn how to install rancid on Rocky Linux 8 using yum and dnf.