How To Install libnice on Rocky Linux 8

In this tutorial we learn how to install libnice on Rocky Linux 8. libnice is GLib ICE implementation

Introduction

In this tutorial we learn how to install libnice on Rocky Linux 8.

What is libnice

libnice is an implementation of the IETF draft Interactive Connectivity Establishment standard (ICE). ICE is useful for applications that want to establish peer-to-peer UDP data streams. It automates the process of traversing NATs and provides security against some attacks. Existing standards that use ICE include the Session Initiation Protocol (SIP) and Jingle, XMPP extension for audio/video calls.

We can use yum or dnf to install libnice on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libnice.

Install libnice on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install libnice

Install libnice on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install libnice

How To Uninstall libnice on Rocky Linux 8

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

sudo dnf remove libnice

libnice Package Contents on Rocky Linux 8

/usr/bin/stunbdc
/usr/bin/stund
/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/5b299058f230368b7dbbf1cf221082b501e151
/usr/lib/.build-id/6a
/usr/lib/.build-id/6a/8eb0ecb6822f49272d0a1781d2853bac993687
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/7239a2b8b5583ddd3b8bc78d54140b886452e1
/usr/lib/girepository-1.0/Nice-0.1.typelib
/usr/lib/libnice.so.10
/usr/lib/libnice.so.10.7.0
/usr/share/doc/libnice
/usr/share/doc/libnice/NEWS
/usr/share/doc/libnice/README
/usr/share/licenses/libnice
/usr/share/licenses/libnice/COPYING
/usr/share/licenses/libnice/COPYING.LGPL
/usr/share/licenses/libnice/COPYING.MPL
/usr/bin/stunbdc
/usr/bin/stund
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/ab80860060b7a94132e28bdcec12baa1240037
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/1c70958febd277bf4f54a1dc18ef2affd776ef
/usr/lib/.build-id/88
/usr/lib/.build-id/88/8ffaba48e0e3ec05119782b2749616318a9f1f
/usr/lib64/girepository-1.0/Nice-0.1.typelib
/usr/lib64/libnice.so.10
/usr/lib64/libnice.so.10.7.0
/usr/share/doc/libnice
/usr/share/doc/libnice/NEWS
/usr/share/doc/libnice/README
/usr/share/licenses/libnice
/usr/share/licenses/libnice/COPYING
/usr/share/licenses/libnice/COPYING.LGPL
/usr/share/licenses/libnice/COPYING.MPL

References

Summary

In this tutorial we learn how to install libnice on Rocky Linux 8 using yum and dnf.