How To Install libvncserver on Rocky Linux 8

In this tutorial we learn how to install libvncserver on Rocky Linux 8. libvncserver is Library to make writing a VNC server easy

Introduction

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

What is libvncserver

LibVNCServer makes writing a VNC server (or more correctly, a program exporting a frame-buffer via the Remote Frame Buffer protocol) easy. It hides the programmer from the tedious task of managing clients and compression schemata.

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

Install libvncserver 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 libvncserver using dnf by running the following command:

sudo dnf -y install libvncserver

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

sudo yum -y install libvncserver

How To Uninstall libvncserver on Rocky Linux 8

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

sudo dnf remove libvncserver

libvncserver Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/30
/usr/lib/.build-id/30/eb50e486bbb9ec0ca16a12fd5112f16a1c53bd
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/65d8afc7e597159a7f6df78d3261e045139bc5
/usr/lib/libvncclient.so.0
/usr/lib/libvncclient.so.0.0.0
/usr/lib/libvncserver.so.0
/usr/lib/libvncserver.so.0.0.0
/usr/share/doc/libvncserver
/usr/share/doc/libvncserver/AUTHORS
/usr/share/doc/libvncserver/ChangeLog
/usr/share/doc/libvncserver/NEWS
/usr/share/doc/libvncserver/README
/usr/share/doc/libvncserver/TODO
/usr/share/licenses/libvncserver
/usr/share/licenses/libvncserver/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/9a5e210ac2db6e79d7d2459384e21d4cb7687b
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/eb8d4b429a9e37ac905d35de1380cbb792cb15
/usr/lib64/libvncclient.so.0
/usr/lib64/libvncclient.so.0.0.0
/usr/lib64/libvncserver.so.0
/usr/lib64/libvncserver.so.0.0.0
/usr/share/doc/libvncserver
/usr/share/doc/libvncserver/AUTHORS
/usr/share/doc/libvncserver/ChangeLog
/usr/share/doc/libvncserver/NEWS
/usr/share/doc/libvncserver/README
/usr/share/doc/libvncserver/TODO
/usr/share/licenses/libvncserver
/usr/share/licenses/libvncserver/COPYING

References

Summary

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