How To Install restmbmaster on Fedora 36
Introduction
In this tutorial we learn how to install restmbmaster
on Fedora 36.
What is restmbmaster
This package contains a tool called restmbmaster which is a simple daemon that allows user to access Modbus slaves over Rest API. The slaves could be either connected over serial line (Modbus RTU protocol), or over TCP (Modbus TCP protocol).
We can use yum
or dnf
to install restmbmaster
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install restmbmaster.
Install restmbmaster on Fedora 36 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install restmbmaster
using dnf
by running the following command:
sudo dnf -y install restmbmaster
Install restmbmaster on Fedora 36 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install restmbmaster
using yum
by running the following command:
sudo yum -y install restmbmaster
How To Uninstall restmbmaster on Fedora 36
To uninstall only the restmbmaster
package we can use the following command:
sudo dnf remove restmbmaster
restmbmaster Package Contents on Fedora 36
/etc/restmbmaster
/usr/bin/restmbmaster
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/97ee8c4a875137e3299c03a56b957838b89685
/usr/lib/systemd/system/[email protected]
/usr/share/doc/restmbmaster
/usr/share/doc/restmbmaster/example_configs
/usr/share/doc/restmbmaster/example_configs/sample_rtu.conf
/usr/share/doc/restmbmaster/example_configs/sample_tcp.conf
/usr/share/licenses/restmbmaster
/usr/share/licenses/restmbmaster/COPYING
/usr/share/man/man5/restmbmaster.conf.5.gz
/usr/share/man/man8/restmbmaster.8.gz
References
Summary
In this tutorial we learn how to install restmbmaster
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).