How To Install pth.i686 on Amazon Linux 2
Introduction
In this tutorial we learn how to install pth.i686
on Amazon Linux 2.
What is pth.i686
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.i686
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install pth.i686.
Install pth.i686 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.i686
using yum
by running the following command:
sudo yum -y install pth.i686
How To Uninstall pth.i686 on Amazon Linux 2
To uninstall only the pth.i686
package we can use the following command:
sudo yum remove pth.i686
pth.i686 Package Contents on Amazon Linux 2
/usr/lib/libpth.so.20
/usr/lib/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.i686
on Amazon Linux 2 using yum.