How To Install qtlockedfile on Fedora 34

qtlockedfile is QFile extension with advisory locking functions QFile extension with advisory locking functions

Introduction

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

What is qtlockedfile

This class extends the QFile class with inter-process file locking capabilities. If an application requires that several processes should access the same file, QtLockedFile can be used to easily ensure that only one process at a time is writing to the file, and that no process is writing to it while others are reading it. qtlockedfile 2.4 34.20150629git5a07df5.fc34 x86_64 33 k qtlockedfile-2.4-34.20150629git5a07df5.fc34.src.rpm fedora QFile extension with advisory locking functions http GPLv3 or LGPLv2 with exceptions This class extends the QFile class with inter-process file locking capabilities. If an application requires that several processes should access the same file, QtLockedFile can be used to easily ensure that only one process at a time is writing to the file, and that no process is writing to it while others are reading it.

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

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

sudo dnf -y install qtlockedfile

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

sudo yum -y install qtlockedfile

How To Uninstall qtlockedfile on Fedora 34

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

sudo dnf remove qtlockedfile

qtlockedfile Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/479c926ff7900acae9ca9e103d51e40bc468b6
/usr/lib/libQtSolutions_LockedFile-2.4.so.1
/usr/lib/libQtSolutions_LockedFile-2.4.so.1.0
/usr/lib/libQtSolutions_LockedFile-2.4.so.1.0.0
/usr/share/doc/qtlockedfile
/usr/share/doc/qtlockedfile/README.TXT
/usr/share/licenses/qtlockedfile
/usr/share/licenses/qtlockedfile/LGPL_EXCEPTION
/usr/share/licenses/qtlockedfile/LICENSE.GPL3
/usr/share/licenses/qtlockedfile/LICENSE.LGPL
/usr/lib/.build-id
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/ae291365d75c8ccefb4704f69a78bd8989436e
/usr/lib64/libQtSolutions_LockedFile-2.4.so.1
/usr/lib64/libQtSolutions_LockedFile-2.4.so.1.0
/usr/lib64/libQtSolutions_LockedFile-2.4.so.1.0.0
/usr/share/doc/qtlockedfile
/usr/share/doc/qtlockedfile/README.TXT
/usr/share/licenses/qtlockedfile
/usr/share/licenses/qtlockedfile/LGPL_EXCEPTION
/usr/share/licenses/qtlockedfile/LICENSE.GPL3
/usr/share/licenses/qtlockedfile/LICENSE.LGPL

References

Summary

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