How To Install npth on Fedora 34

npth is The New GNU Portable Threads library The New GNU Portable Threads library

Introduction

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

What is npth

nPth is a non-preemptive threads implementation using an API very similar to the one known from GNU Pth. It has been designed as a replacement of GNU Pth for non-ancient operating systems. In contrast to GNU Pth is is based on the system’s standard threads implementation. Thus nPth allows the use of libraries which are not compatible to GNU Pth. npth 1.6 6.fc34 i686 25 k npth-1.6-6.fc34.src.rpm fedora The New GNU Portable Threads library https LGPLv2+ nPth is a non-preemptive threads implementation using an API very similar to the one known from GNU Pth. It has been designed as a replacement of GNU Pth for non-ancient operating systems. In contrast to GNU Pth is is based on the system’s standard threads implementation. Thus nPth allows the use of libraries which are not compatible to GNU Pth.

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

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

sudo dnf -y install npth

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

sudo yum -y install npth

How To Uninstall npth on Fedora 34

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

sudo dnf remove npth

npth Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/df6669125fff1b6d6bf81e9cc740202eb30df6
/usr/lib/libnpth.so.0
/usr/lib/libnpth.so.0.1.2
/usr/share/licenses/npth
/usr/share/licenses/npth/COPYING.LIB
/usr/lib/.build-id
/usr/lib/.build-id/96
/usr/lib/.build-id/96/d1c4be43835c2986822e34023e324c87b5a8ae
/usr/lib64/libnpth.so.0
/usr/lib64/libnpth.so.0.1.2
/usr/share/licenses/npth
/usr/share/licenses/npth/COPYING.LIB

References

Summary

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