How To Install open62541 on Fedora 34

open62541 is OPC UA implementation OPC UA implementation

Introduction

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

What is open62541

open62541 is a C-based library (linking with C++ projects is possible) with all necessary tools to implement dedicated OPC UA clients and servers, or to integrate OPC UA-based communication into existing applications. open62541 1.1.5 1.fc34 x86_64 193 k open62541-1.1.5-1.fc34.src.rpm fedora OPC UA implementation http MPLv2.0 open62541 is a C-based library (linking with C++ projects is possible) with all necessary tools to implement dedicated OPC UA clients and servers, or to integrate OPC UA-based communication into existing applications.

We can use yum or dnf to install open62541 on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install open62541.

Install open62541 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 open62541 using dnf by running the following command:

sudo dnf -y install open62541

Install open62541 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 open62541 using yum by running the following command:

sudo yum -y install open62541

How To Uninstall open62541 on Fedora 34

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

sudo dnf remove open62541

open62541 Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/1e
/usr/lib/.build-id/1e/de6d5f29106339353ae0001b9af5fb6dcd0f35
/usr/lib64/libopen62541.so.1
/usr/lib64/libopen62541.so.1.1.5
/usr/share/doc/open62541
/usr/share/doc/open62541/AUTHORS
/usr/share/doc/open62541/CHANGELOG
/usr/share/doc/open62541/README.md
/usr/share/licenses/open62541
/usr/share/licenses/open62541/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/1ebc554831d99f4c2426d5545f70bb85a5781d
/usr/lib/libopen62541.so.1
/usr/lib/libopen62541.so.1.1.5
/usr/share/doc/open62541
/usr/share/doc/open62541/AUTHORS
/usr/share/doc/open62541/CHANGELOG
/usr/share/doc/open62541/README.md
/usr/share/licenses/open62541
/usr/share/licenses/open62541/LICENSE

References

Summary

In this tutorial we learn how to install open62541 on Fedora 34 using yum and dnf.