How To Install pth on CentOS 7
Introduction
In this tutorial we learn how to install pth
on CentOS 7.
What is pth
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.
We can use yum
or dnf
to install pth
on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install pth.
Install pth on CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install pth
using yum
by running the following command:
Install pth on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install pth
using dnf
by running the following command:
How To Uninstall pth on CentOS 7
To uninstall only the pth
package we can use the following command:
References
Summary
In this tutorial we learn how to install pth
on CentOS 7 using yum
and dnf
.