How To Install npth on Fedora 36

In this tutorial we learn how to install npth in Fedora 36. npth is The New GNU Portable Threads library

Introduction

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

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.

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

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

sudo dnf -y install npth

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

sudo yum -y install npth

How To Uninstall npth on Fedora 36

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

sudo dnf remove npth

npth Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/13
/usr/lib/.build-id/13/2861e2af038cf2ae7fa15a17aadb7e260926d8
/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 36 using yum and [dnf]((/fedora/36/dnf/).