How To Install libmodbus on Fedora 36
Introduction
In this tutorial we learn how to install libmodbus
on Fedora 36.
What is libmodbus
libmodbus is a C library designed to provide a fast and robust implementation of the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows. This package contains the libmodbus shared library.
We can use yum
or dnf
to install libmodbus
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libmodbus.
Install libmodbus 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 libmodbus
using dnf
by running the following command:
sudo dnf -y install libmodbus
Install libmodbus 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 libmodbus
using yum
by running the following command:
sudo yum -y install libmodbus
How To Uninstall libmodbus on Fedora 36
To uninstall only the libmodbus
package we can use the following command:
sudo dnf remove libmodbus
libmodbus Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/bc
/usr/lib/.build-id/bc/0ce02f5c6482b52171dc7cd9d8cd5a27e8584d
/usr/lib64/libmodbus.so.5
/usr/lib64/libmodbus.so.5.1.0
/usr/share/doc/libmodbus
/usr/share/doc/libmodbus/AUTHORS
/usr/share/doc/libmodbus/MIGRATION
/usr/share/doc/libmodbus/NEWS
/usr/share/doc/libmodbus/README.md
/usr/share/licenses/libmodbus
/usr/share/licenses/libmodbus/COPYING.LESSER
References
Summary
In this tutorial we learn how to install libmodbus
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).
title: “How To Install libmodbus on Fedora 36” linkTitle: “libmodbus” type: “docs” description: “In this tutorial we learn how to install libmodbus in Fedora 36. libmodbus is A Modbus library” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/libmodbus-featured.png
Introduction
In this tutorial we learn how to install libmodbus
on Fedora 36.
What is libmodbus
libmodbus is a C library designed to provide a fast and robust implementation of the Modbus protocol. It runs on Linux, Mac OS X, FreeBSD, QNX and Windows. This package contains the libmodbus shared library.
We can use yum
or dnf
to install libmodbus
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libmodbus.
Install libmodbus 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 libmodbus
using dnf
by running the following command:
sudo dnf -y install libmodbus
Install libmodbus 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 libmodbus
using yum
by running the following command:
sudo yum -y install libmodbus
How To Uninstall libmodbus on Fedora 36
To uninstall only the libmodbus
package we can use the following command:
sudo dnf remove libmodbus
libmodbus Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/665a5c60ffff4ab5d70081ab634b737d3ff9f1
/usr/lib/libmodbus.so.5
/usr/lib/libmodbus.so.5.1.0
/usr/share/doc/libmodbus
/usr/share/doc/libmodbus/AUTHORS
/usr/share/doc/libmodbus/MIGRATION
/usr/share/doc/libmodbus/NEWS
/usr/share/doc/libmodbus/README.md
/usr/share/licenses/libmodbus
/usr/share/licenses/libmodbus/COPYING.LESSER
References
Summary
In this tutorial we learn how to install libmodbus
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).