How To Install ptlib on Fedora 36

In this tutorial we learn how to install ptlib in Fedora 36. ptlib is Portable Tools Library

Introduction

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

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.

We can use yum or dnf to install ptlib on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ptlib.

Install ptlib on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install ptlib

Install ptlib on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove ptlib

ptlib Package Contents on Fedora 36

---
title: "How To Install ptlib on Fedora 36"
linkTitle: "ptlib"
type: "docs"
description: "In this tutorial we learn how to install ptlib in Fedora 36. ptlib is Portable Tools Library"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/ptlib-featured.png
---

## Introduction

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

### 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.  

We can use `yum` or `dnf` to install `ptlib` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ptlib.

## Install ptlib on Fedora 36 Using dnf

Update yum database with `dnf` using the following command.

```bash
sudo dnf makecache --refresh

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

sudo dnf -y install ptlib

Install ptlib on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 36

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

sudo dnf remove ptlib

ptlib Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/7f966130cbffe4c72ee9bd7cdb4f778d0d25e9
/usr/lib/.build-id/81
/usr/lib/.build-id/81/f4ab6fc43bca0a17708860fda808bfbf3d780a
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/814746bcf16a846681f4bf38eed59ff1656ac3
/usr/lib/.build-id/ba
/usr/lib/.build-id/ba/17c730dae3995a4c77feb9452fe46152d160c5
/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

References

Summary

In this tutorial we learn how to install ptlib on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/usr/lib/.build-id /usr/lib/.build-id/04 /usr/lib/.build-id/04/ddd140516827b477be1f1db1782944faa9e860 /usr/lib/.build-id/13 /usr/lib/.build-id/13/31b14f3319ce76e2649318d46478251e0460bf /usr/lib/.build-id/26 /usr/lib/.build-id/26/5ececf57eeb0c1055b22b54b86112742669f3f /usr/lib/.build-id/85 /usr/lib/.build-id/85/5db5ed1d2d30be4d8ad04c66267c2bf609c795 /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

* [ptlib website](http://www.opalvoip.org/)

## Summary

In this tutorial we learn how to install `ptlib` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).