How To Install fltk on Fedora 34

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

Introduction

In this tutorial we learn how to install fltk on Fedora 34.

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.6 1.fc34 x86_64 615 k fltk-1.3.6-1.fc34.src.rpm updates 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 Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install fltk.

Install fltk on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 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 Fedora 34

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

sudo dnf remove fltk

fltk Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/0f
/usr/lib/.build-id/0f/6309d552668d52ce7c2d378ee0f54f2eeccf84
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/96b3f737af21c851b3bf208b5c42638de79c08
/usr/lib/.build-id/76
/usr/lib/.build-id/76/afa546a113ff8746f87c7958508970424bd4a4
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/69f9c139f0badd639d924ba8266338090935f1
/usr/lib/libfltk.so.1.3
/usr/lib/libfltk.so.1.3.5
/usr/lib/libfltk_forms.so.1.3
/usr/lib/libfltk_forms.so.1.3.5
/usr/lib/libfltk_gl.so.1.3
/usr/lib/libfltk_gl.so.1.3.5
/usr/lib/libfltk_images.so.1.3
/usr/lib/libfltk_images.so.1.3.5
/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/33
/usr/lib/.build-id/33/0bff0abe66a31cd7a0ce74e475ce311cecfccf
/usr/lib/.build-id/91
/usr/lib/.build-id/91/24f55a34b24f6ed0e4b79e8185efff5ae1d8d2
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/aa40b8b28b73b783c4bcb902c9e6b98828a623
/usr/lib/.build-id/f0
/usr/lib/.build-id/f0/c00f864cca5c94460b44db5598b48466b55bc2
/usr/lib64/libfltk.so.1.3
/usr/lib64/libfltk.so.1.3.6
/usr/lib64/libfltk_forms.so.1.3
/usr/lib64/libfltk_forms.so.1.3.6
/usr/lib64/libfltk_gl.so.1.3
/usr/lib64/libfltk_gl.so.1.3.6
/usr/lib64/libfltk_images.so.1.3
/usr/lib64/libfltk_images.so.1.3.6
/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/45
/usr/lib/.build-id/45/30bb8913ee7dd9a118940ee81a39b16a0a99c3
/usr/lib/.build-id/83
/usr/lib/.build-id/83/a7e3078e1025d0449518d6b237bd96a3714a27
/usr/lib/.build-id/b8
/usr/lib/.build-id/b8/0d56ba4c8fe4950ad6ec2a75ce0b50b4d3df9e
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/cf6763b9b3f3ccee78e05117ce260d2013c8c8
/usr/lib/libfltk.so.1.3
/usr/lib/libfltk.so.1.3.6
/usr/lib/libfltk_forms.so.1.3
/usr/lib/libfltk_forms.so.1.3.6
/usr/lib/libfltk_gl.so.1.3
/usr/lib/libfltk_gl.so.1.3.6
/usr/lib/libfltk_images.so.1.3
/usr/lib/libfltk_images.so.1.3.6
/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/81
/usr/lib/.build-id/81/d3a35f8c3a2585bf5d1f7682e3527e0f72c574
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/8b8464028d65bb26cd101148fc05c209da4435
/usr/lib/.build-id/a3
/usr/lib/.build-id/a3/4c2a8546fe242bf677c68395bb76436285f30e
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/b9c2baae7e83808a1499255c55df2236ba5674
/usr/lib64/libfltk.so.1.3
/usr/lib64/libfltk.so.1.3.5
/usr/lib64/libfltk_forms.so.1.3
/usr/lib64/libfltk_forms.so.1.3.5
/usr/lib64/libfltk_gl.so.1.3
/usr/lib64/libfltk_gl.so.1.3.5
/usr/lib64/libfltk_images.so.1.3
/usr/lib64/libfltk_images.so.1.3.5
/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 Fedora 34 using yum and dnf.