How To Install ptlib on Fedora 34

ptlib is Portable Tools Library Portable Tools Library

Introduction

In this tutorial we learn how to install ptlib on Fedora 34.

What is ptlib

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. ptlib 2.10.11 8.fc34 x86_64 1.6 M ptlib-2.10.11-8.fc34.src.rpm fedora Portable Tools Library http MPLv1.0 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 or dnf to install ptlib on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install ptlib.

Install ptlib on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install ptlib using dnf by running the following command:

sudo dnf -y install ptlib

Install ptlib on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install ptlib using yum by running the following command:

sudo yum -y install ptlib

How To Uninstall ptlib on Fedora 34

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

sudo dnf remove ptlib

ptlib Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/ab7a8b099577090a014b82cf518fa7f019f50d
/usr/lib/.build-id/10
/usr/lib/.build-id/10/5d8dfb8d1fc6a145ca9c3604eaf95f80d535d3
/usr/lib/.build-id/26
/usr/lib/.build-id/26/531c5c67512cb543964b7f358660de11945932
/usr/lib/.build-id/31
/usr/lib/.build-id/31/e38ab1fe1bb145520f78e11fc63cdb45d2071f
/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
/usr/share/doc/ptlib/History.txt
/usr/share/doc/ptlib/ReadMe.txt
/usr/share/licenses/ptlib
/usr/share/licenses/ptlib/mpl-1.0.htm
/usr/lib/.build-id
/usr/lib/.build-id/90
/usr/lib/.build-id/90/331a610a9bbf8f75160e8001e8584705d414d4
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/a48deffdf3ae2695559fb796ea2658ded73093
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/6ff8fd0667d92afd4ed4879e8776c4eee3cb4c
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/2d6076ae37ae025c1bc1f2199c3b9b20db0bdd
/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
/usr/share/doc/ptlib/History.txt
/usr/share/doc/ptlib/ReadMe.txt
/usr/share/licenses/ptlib
/usr/share/licenses/ptlib/mpl-1.0.htm

References

Summary

In this tutorial we learn how to install ptlib on Fedora 34 using yum and dnf.