How To Install srcpd on Rocky Linux 8
Introduction
In this tutorial we learn how to install srcpd on Rocky Linux 8.
What is srcpd
Simple Railroad Command Protocol (SRCP) is a communication protocol designed to integrate various models of railroad systems. The srcpd acts a gateway between any kind of model railway systems and user interface programs that support SRCP. IANA assigned TCP port 4303 to it.
We can use yum or dnf to install srcpd on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install srcpd.
Install srcpd 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 srcpd using dnf by running the following command:
sudo dnf -y install srcpd
Install srcpd 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 srcpd using yum by running the following command:
sudo yum -y install srcpd
How To Uninstall srcpd on Rocky Linux 8
To uninstall only the srcpd package we can use the following command:
sudo dnf remove srcpd
srcpd Package Contents on Rocky Linux 8
/etc/srcpd.conf
/usr/lib/.build-id
/usr/lib/.build-id/da
/usr/lib/.build-id/da/14410858e7a5fedd89434267cf435a2d827bac
/usr/lib/systemd/system/srcpd.service
/usr/lib/udev/rules.d/10-liusb.rules
/usr/sbin/srcpd
/usr/share/doc/srcpd
/usr/share/doc/srcpd/AUTHORS
/usr/share/doc/srcpd/COPYING
/usr/share/doc/srcpd/ChangeLog
/usr/share/doc/srcpd/DESIGN
/usr/share/doc/srcpd/NEWS
/usr/share/doc/srcpd/PROGRAMMING-HOWTO
/usr/share/doc/srcpd/README
/usr/share/doc/srcpd/README.loconet
/usr/share/doc/srcpd/README.selectrix
/usr/share/doc/srcpd/TODO
/usr/share/man/de/man5/srcpd.conf.5.gz
/usr/share/man/de/man8/srcpd.8.gz
/usr/share/man/man5/srcpd.conf.5.gz
/usr/share/man/man8/srcpd.8.gz
References
Summary
In this tutorial we learn how to install srcpd on Rocky Linux 8 using yum and dnf.