How To Install ptlib.x86_64 on Amazon Linux 2

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

Introduction

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

What is ptlib.x86_64

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.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install ptlib.x86_64.

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

sudo yum -y install ptlib.x86_64

How To Uninstall ptlib.x86_64 on Amazon Linux 2

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

sudo yum remove ptlib.x86_64

ptlib.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/libpt.so.2.10.11
/usr/lib64/ptlib-2.10.11
/usr/lib64/ptlib-2.10.11/devices
/usr/lib64/ptlib-2.10.11/devices/sound
/usr/lib64/ptlib-2.10.11/devices/sound/alsa_pwplugin.so
/usr/lib64/ptlib-2.10.11/devices/sound/pulse_pwplugin.so
/usr/lib64/ptlib-2.10.11/devices/videoinput
/usr/lib64/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.x86_64 on Amazon Linux 2 using yum.