How To Install ptlib.i686 on Amazon Linux 2

In this tutorial we learn how to install ptlib.i686 in Amazon Linux 2. ptlib.i686 is Portable Tools Library

Introduction

In this tutorial we learn how to install ptlib.i686 on Amazon Linux 2.

What is ptlib.i686

PTLib (Portable Tools Library) is a moderately large class library that has it’s genesis many years ago as PWLib (portable Windows Library), a method to product applications to run on both Microsoft Windows and Unix systems. It has also been ported to other systems such as Mac OSX, VxWorks and other embedded systems. It is supplied mainly to support the OPAL project, but that shouldn’t stop you from using it in whatever project you have in mind if you so desire.

We can use yum to install ptlib.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ptlib.i686.

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

sudo yum -y install ptlib.i686

How To Uninstall ptlib.i686 on Amazon Linux 2

To uninstall only the ptlib.i686 package we can use the following command:

sudo yum remove ptlib.i686

ptlib.i686 Package Contents on Amazon Linux 2

/usr/lib/libpt.so.2.10.11
/usr/lib/ptlib-2.10.11
/usr/lib/ptlib-2.10.11/devices
/usr/lib/ptlib-2.10.11/devices/sound
/usr/lib/ptlib-2.10.11/devices/sound/alsa_pwplugin.so
/usr/lib/ptlib-2.10.11/devices/sound/pulse_pwplugin.so
/usr/lib/ptlib-2.10.11/devices/videoinput
/usr/lib/ptlib-2.10.11/devices/videoinput/v4l2_pwplugin.so
/usr/share/doc/ptlib-2.10.11
/usr/share/doc/ptlib-2.10.11/History.txt
/usr/share/doc/ptlib-2.10.11/ReadMe.txt
/usr/share/doc/ptlib-2.10.11/mpl-1.0.htm

References

Summary

In this tutorial we learn how to install ptlib.i686 on Amazon Linux 2 using yum.