How To Install pth.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install pth.x86_64
on Amazon Linux 2.
What is pth.x86_64
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
to install pth.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pth.x86_64.
Install pth.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install pth.x86_64
using yum
by running the following command:
sudo yum -y install pth.x86_64
How To Uninstall pth.x86_64 on Amazon Linux 2
To uninstall only the pth.x86_64
package we can use the following command:
sudo yum remove pth.x86_64
pth.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/libpth.so.20
/usr/lib64/libpth.so.20.0.27
/usr/share/doc/pth-2.0.7
/usr/share/doc/pth-2.0.7/ANNOUNCE
/usr/share/doc/pth-2.0.7/AUTHORS
/usr/share/doc/pth-2.0.7/COPYING
/usr/share/doc/pth-2.0.7/ChangeLog
/usr/share/doc/pth-2.0.7/HISTORY
/usr/share/doc/pth-2.0.7/NEWS
/usr/share/doc/pth-2.0.7/PORTING
/usr/share/doc/pth-2.0.7/README
/usr/share/doc/pth-2.0.7/SUPPORT
/usr/share/doc/pth-2.0.7/TESTS
/usr/share/doc/pth-2.0.7/THANKS
/usr/share/doc/pth-2.0.7/USERS
References
Summary
In this tutorial we learn how to install pth.x86_64
on Amazon Linux 2 using yum.