How To Install pthsem on Fedora 36

In this tutorial we learn how to install pthsem in Fedora 36. pthsem is The GNU Portable Threads library extended with semaphore support

Introduction

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

What is pthsem

Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution (“multithreading”) inside server applications. All threads run in the same address space of the server application, but each thread has it’s own individual program-counter, run-time stack, signal mask and errno variable. pthsem is an extend version, with support for semaphores added. It can be installed parallel to a normal pth. The header file is called pthsem.h, the configuration program pthsem-config and the autoconf macro AC_CHECK_PTHSEM.

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

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

sudo dnf -y install pthsem

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

sudo yum -y install pthsem

How To Uninstall pthsem on Fedora 36

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

sudo dnf remove pthsem

pthsem Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e0
/usr/lib/.build-id/e0/ef46735fcc5e4a004c0ed33c683e2d5f821310
/usr/lib64/libpthsem.so.20
/usr/lib64/libpthsem.so.20.0.27
/usr/share/doc/pthsem
/usr/share/doc/pthsem/ANNOUNCE
/usr/share/doc/pthsem/AUTHORS
/usr/share/doc/pthsem/COPYING
/usr/share/doc/pthsem/ChangeLog
/usr/share/doc/pthsem/HISTORY
/usr/share/doc/pthsem/NEWS
/usr/share/doc/pthsem/PORTING
/usr/share/doc/pthsem/README
/usr/share/doc/pthsem/SUPPORT
/usr/share/doc/pthsem/TESTS
/usr/share/doc/pthsem/THANKS
/usr/share/doc/pthsem/USERS

References

Summary

In this tutorial we learn how to install pthsem on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).


title: “How To Install pthsem on Fedora 36” linkTitle: “pthsem” type: “docs” description: “In this tutorial we learn how to install pthsem in Fedora 36. pthsem is The GNU Portable Threads library extended with semaphore support” date: “2022-08-17” lastmod: “2022-08-17” #image: /images/fedora/36/pthsem-featured.png

Introduction

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

What is pthsem

Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution (“multithreading”) inside server applications. All threads run in the same address space of the server application, but each thread has it’s own individual program-counter, run-time stack, signal mask and errno variable. pthsem is an extend version, with support for semaphores added. It can be installed parallel to a normal pth. The header file is called pthsem.h, the configuration program pthsem-config and the autoconf macro AC_CHECK_PTHSEM.

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

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

sudo dnf -y install pthsem

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

sudo yum -y install pthsem

How To Uninstall pthsem on Fedora 36

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

sudo dnf remove pthsem

pthsem Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/8f
/usr/lib/.build-id/8f/ff352bdb9a40432209638e8892ec0157a31cdd
/usr/lib/libpthsem.so.20
/usr/lib/libpthsem.so.20.0.27
/usr/share/doc/pthsem
/usr/share/doc/pthsem/ANNOUNCE
/usr/share/doc/pthsem/AUTHORS
/usr/share/doc/pthsem/COPYING
/usr/share/doc/pthsem/ChangeLog
/usr/share/doc/pthsem/HISTORY
/usr/share/doc/pthsem/NEWS
/usr/share/doc/pthsem/PORTING
/usr/share/doc/pthsem/README
/usr/share/doc/pthsem/SUPPORT
/usr/share/doc/pthsem/TESTS
/usr/share/doc/pthsem/THANKS
/usr/share/doc/pthsem/USERS

References

Summary

In this tutorial we learn how to install pthsem on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).