How To Install tcl-tkpng on Fedora 36

In this tutorial we learn how to install tcl-tkpng in Fedora 36. tcl-tkpng is Tcl/Tk support for PNG

Introduction

In this tutorial we learn how to install tcl-tkpng on Fedora 36.

What is tcl-tkpng

TkPNG is an open source package that adds PNG photo image support to Tcl/Tk. Although other extensions such as Img also add support for PNG images, this package was designed to be lightweight, not depending on libpng nor implementing other image formats, and suitable for inclusion in the Tk core. Tk does not currently have native support for any image formats that allow for alpha (partial-transparency) channels, although it does have support for alpha blending internally.

We can use yum or dnf to install tcl-tkpng on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install tcl-tkpng.

Install tcl-tkpng on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install tcl-tkpng using dnf by running the following command:

sudo dnf -y install tcl-tkpng

Install tcl-tkpng on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install tcl-tkpng using yum by running the following command:

sudo yum -y install tcl-tkpng

How To Uninstall tcl-tkpng on Fedora 36

To uninstall only the tcl-tkpng package we can use the following command:

sudo dnf remove tcl-tkpng

tcl-tkpng Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/60
/usr/lib/.build-id/60/5a7d2c8f6c013a87fe942fc427d049a524bd0b
/usr/lib64/tcl8.6/tkpng0.9
/usr/lib64/tcl8.6/tkpng0.9/libtkpng0.9.so
/usr/lib64/tcl8.6/tkpng0.9/pkgIndex.tcl
/usr/share/doc/tcl-tkpng
/usr/share/doc/tcl-tkpng/ChangeLog
/usr/share/doc/tcl-tkpng/README
/usr/share/licenses/tcl-tkpng
/usr/share/licenses/tcl-tkpng/license.terms

References

Summary

In this tutorial we learn how to install tcl-tkpng on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).