How To Install fltk on CentOS 8

fltk is C++ user interface toolkit C++ user interface toolkit

Introduction

In this tutorial we learn how to install fltk on CentOS 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. fltk 1.3.4 5.el8 x86_64 590 k fltk-1.3.4-5.el8.src.rpm appstream C++ user interface toolkit http LGPLv2+ with exceptions 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install fltk.

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

sudo dnf -y install fltk

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

sudo yum -y install fltk

How To Uninstall fltk on CentOS 8

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

sudo dnf remove fltk

fltk Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/02
/usr/lib/.build-id/02/55c8e21e6adbd358715f63223cec8d81851d50
/usr/lib/.build-id/20
/usr/lib/.build-id/20/83d4879334e63b233f427540089dc15575d33e
/usr/lib/.build-id/2d
/usr/lib/.build-id/2d/d6e9e5534b55ad87bc17e3463de567a49afc42
/usr/lib/.build-id/5a
/usr/lib/.build-id/5a/c7b47a8404e32852701076ad9a21b1f4eab478
/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/85
/usr/lib/.build-id/85/e5d4444b6291db1c68d6951fc34b9679cf5f1f
/usr/lib/.build-id/be
/usr/lib/.build-id/be/1f53044be10057a4cebc4d1066787a0cdbe7b8
/usr/lib/.build-id/de
/usr/lib/.build-id/de/38899ef3edbf867e875b346c23566d3c4c1649
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/0ee4247772dced4d7404a1fd4638e6cf4602cf
/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 CentOS 8 using yum and dnf.