How To Install pjproject on CentOS 8
Introduction
In this tutorial we learn how to install pjproject on CentOS 8.
What is pjproject
This package provides the Open Source, comprehensive, high performance, small footprint multimedia communication libraries written in C language for building embedded/non-embedded VoIP applications. It contains - PJSIP - Open Source SIP Stack - PJMEDIA - Open Source Media Stack - PJNATH - Open Source NAT Traversal Helper Library - PJLIB-UTIL - Auxiliary Library - PJLIB - Ultra Portable Base Framework Library - PJSUA2 - Object Oriented abstractions layer for PJSUA
We can use yum or dnf to install pjproject on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install pjproject.
Install pjproject on CentOS 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install pjproject using dnf by running the following command:
sudo dnf -y install pjproject
Install pjproject on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install pjproject using yum by running the following command:
sudo yum -y install pjproject
How To Uninstall pjproject on CentOS 8
To uninstall only the pjproject package we can use the following command:
sudo dnf remove pjproject
pjproject Package Contents on CentOS 8
/usr/lib/.build-id
/usr/lib/.build-id/25
/usr/lib/.build-id/25/9cd36dcd831305966746f485f19350f172ab79
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/b5f541d761e83cb63c54d6119ef33aba13e9c0
/usr/lib/.build-id/78
/usr/lib/.build-id/78/2275af9e5004883f716212713576c9bb98c9a0
/usr/lib/.build-id/84
/usr/lib/.build-id/84/ed180a506f5a241132f90b95eba4a04d3be63f
/usr/lib/.build-id/92
/usr/lib/.build-id/92/c2565a62f262e3f84136d9a2e0657f0d2d22f6
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/24c19a1f6ad612e2bf55aed91c1cd7e3fa64cc
/usr/lib/.build-id/b7/e06485b020b9e2137366b38ca245d1b74c5e5c
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/757e44488f946e435e8d926c57e97371716d2f
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/302e04447115aa4fea7c9148403633e6a2d471
/usr/lib/.build-id/df
/usr/lib/.build-id/df/9a3a761c0f4910e0d2127c66e5d5933c42c6d1
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/6717ee0553d0030387197b68ca1239a163a4e4
/usr/lib/.build-id/e9
/usr/lib/.build-id/e9/9ff7819632ff64d40e66a049ae82cebec4d246
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/57f857e1ec2f884b2945b91547a697d35dd1c0
/usr/lib64/libpj.so.2
/usr/lib64/libpjlib-util.so.2
/usr/lib64/libpjmedia-audiodev.so.2
/usr/lib64/libpjmedia-codec.so.2
/usr/lib64/libpjmedia-videodev.so.2
/usr/lib64/libpjmedia.so.2
/usr/lib64/libpjnath.so.2
/usr/lib64/libpjsip-simple.so.2
/usr/lib64/libpjsip-ua.so.2
/usr/lib64/libpjsip.so.2
/usr/lib64/libpjsua.so.2
/usr/lib64/libpjsua2.so.2
/usr/lib64/libwebrtc.so.2
/usr/share/doc/pjproject
/usr/share/doc/pjproject/INSTALL.txt
/usr/share/doc/pjproject/README-RTEMS
/usr/share/doc/pjproject/README.txt
/usr/share/licenses/pjproject
/usr/share/licenses/pjproject/COPYING
References
Summary
In this tutorial we learn how to install pjproject on CentOS 8 using yum and dnf.