How To Install fltk on Rocky Linux 8

In this tutorial we learn how to install fltk on Rocky Linux 8. fltk is C++ user interface toolkit

Introduction

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

What is fltk

FLTK (pronounced “fulltick”) is a cross-platform C++ GUI toolkit. It provides modern GUI functionality without the bloat, and supports 3D graphics via OpenGL and its built-in GLUT emulation.

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

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

sudo dnf -y install fltk

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

sudo yum -y install fltk

How To Uninstall fltk on Rocky Linux 8

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

sudo dnf remove fltk

fltk Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/19
/usr/lib/.build-id/19/76561bcc2d5a5745a7b2f69e9098d2fe8a1039
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/73924338fd6f33dec4854656d71aeb9d90ae71
/usr/lib/.build-id/36
/usr/lib/.build-id/36/8806b4679d92f146b4cd325708e9af8f44e243
/usr/lib/.build-id/4b
/usr/lib/.build-id/4b/386786ebdb483ff608e2c4def3641ce789eaf5
/usr/lib64/libfltk.so.1.3
/usr/lib64/libfltk_forms.so.1.3
/usr/lib64/libfltk_gl.so.1.3
/usr/lib64/libfltk_images.so.1.3
/usr/share/doc/fltk
/usr/share/doc/fltk/ANNOUNCEMENT
/usr/share/doc/fltk/CHANGES
/usr/share/doc/fltk/CREDITS
/usr/share/doc/fltk/README
/usr/share/licenses/fltk
/usr/share/licenses/fltk/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/ce16b66d458364786bcb28db9fb24bb127d91f
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/1ad4adf66b22608b8b919858c29863b165f80b
/usr/lib/.build-id/ce
/usr/lib/.build-id/ce/61121ebb26da07eaaa2922cd2e4793c5265ca4
/usr/lib/.build-id/da
/usr/lib/.build-id/da/d399686ced92260e284a903e786de475a9317b
/usr/lib/libfltk.so.1.3
/usr/lib/libfltk_forms.so.1.3
/usr/lib/libfltk_gl.so.1.3
/usr/lib/libfltk_images.so.1.3
/usr/share/doc/fltk
/usr/share/doc/fltk/ANNOUNCEMENT
/usr/share/doc/fltk/CHANGES
/usr/share/doc/fltk/CREDITS
/usr/share/doc/fltk/README
/usr/share/licenses/fltk
/usr/share/licenses/fltk/COPYING

References

Summary

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