How To Install srcpd on Fedora 34

srcpd is Simple Railroad Command Protocol (SRCP) server

Introduction

In this tutorial we learn how to install srcpd on Fedora 34.

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

Install srcpd on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install srcpd

Install srcpd on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 Fedora 34

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

sudo dnf remove srcpd

srcpd Package Contents on Fedora 34

/etc/srcpd.conf
/usr/lib/.build-id
/usr/lib/.build-id/79
/usr/lib/.build-id/79/53b6bbd99389a7d3a8d72e0b5c4e1959a75118
/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 Fedora 34 using yum and dnf.