How To Install libvncserver on CentOS 8

libvncserver is Library to make writing a VNC server easy Library to make writing a VNC server easy

Introduction

In this tutorial we learn how to install libvncserver on CentOS 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. libvncserver 0.9.11 17.el8 x86_64 275 k libvncserver-0.9.11-17.el8.src.rpm appstream Library to make writing a VNC server easy http GPLv2+ 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install libvncserver.

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

sudo dnf -y install libvncserver

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

sudo yum -y install libvncserver

How To Uninstall libvncserver on CentOS 8

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

sudo dnf remove libvncserver

libvncserver Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/6c
/usr/lib/.build-id/6c/bec79487819aebcea7431dfaef0e5b1510ceed
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/1d8da134bfaa3a1a793ee642f9ba6c9672f1b7
/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/78
/usr/lib/.build-id/78/45f921bbfaddc8da15672780f496b1034de0e1
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/e3c867f1f281b1a39446da84f5fb4fbb474d67
/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 CentOS 8 using yum and dnf.