How To Install unique on Fedora 34

unique is Single instance support for applications Single instance support for applications

Introduction

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

What is unique

Unique is a library for writing single instance applications, that is applications that are run once and every further call to the same binary either exits immediately or sends a command to the running instance. unique 1.1.6 26.fc34 x86_64 59 k unique-1.1.6-26.fc34.src.rpm fedora Single instance support for applications http LGPLv2+ Unique is a library for writing single instance applications, that is applications that are run once and every further call to the same binary either exits immediately or sends a command to the running instance.

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

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

sudo dnf -y install unique

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

sudo yum -y install unique

How To Uninstall unique on Fedora 34

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

sudo dnf remove unique

unique Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/38
/usr/lib/.build-id/38/fb3b44cf9ba42f1beafc7f119fd690d06bbef7
/usr/lib/libunique-1.0.so.0
/usr/lib/libunique-1.0.so.0.100.6
/usr/share/doc/unique
/usr/share/doc/unique/AUTHORS
/usr/share/doc/unique/COPYING
/usr/share/doc/unique/ChangeLog
/usr/share/doc/unique/README
/usr/lib/.build-id
/usr/lib/.build-id/be
/usr/lib/.build-id/be/16e8c2e9f5b7efffa2dbef5ee9ad5ea33eb78c
/usr/lib64/libunique-1.0.so.0
/usr/lib64/libunique-1.0.so.0.100.6
/usr/share/doc/unique
/usr/share/doc/unique/AUTHORS
/usr/share/doc/unique/COPYING
/usr/share/doc/unique/ChangeLog
/usr/share/doc/unique/README

References

Summary

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