How To Install srcpd on CentOS 7
Introduction
In this tutorial we learn how to install srcpd
on CentOS 7.
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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install srcpd.
Install srcpd on CentOS 7 Using yum
Update yum database with yum
using the following command.
sudo yum makecache
After updating yum database, We can install srcpd
using yum
by running the following command:
sudo yum -y install srcpd
Install srcpd on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
sudo dnf makecache
After updating yum database, We can install srcpd
using dnf
by running the following command:
sudo dnf -y install srcpd
How To Uninstall srcpd on CentOS 7
To uninstall only the srcpd
package we can use the following command:
sudo dnf remove srcpd
References
Summary
In this tutorial we learn how to install srcpd
on CentOS 7 using yum
and dnf
.