How To Install leafpad on Fedora 36

In this tutorial we learn how to install leafpad in Fedora 36. leafpad is GTK+ based simple text editor

Introduction

In this tutorial we learn how to install leafpad on Fedora 36.

What is leafpad

Leafpad is a GTK+ based simple text editor. The user interface is similar to Notepad. It aims to be lighter than GEdit and KWrite, and to be as useful as them.

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

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

sudo dnf -y install leafpad

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

sudo yum -y install leafpad

How To Uninstall leafpad on Fedora 36

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

sudo dnf remove leafpad

leafpad Package Contents on Fedora 36

/usr/bin/leafpad
/usr/lib/.build-id
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/15424de1fb6d285adecf213f99067e84b68f43
/usr/share/applications/leafpad.desktop
/usr/share/doc/leafpad
/usr/share/doc/leafpad/AUTHORS
/usr/share/doc/leafpad/ChangeLog
/usr/share/doc/leafpad/README
/usr/share/icons/hicolor/16x16/apps/leafpad.png
/usr/share/icons/hicolor/22x22/apps/leafpad.png
/usr/share/icons/hicolor/24x24/apps/leafpad.png
/usr/share/icons/hicolor/32x32/apps/leafpad.png
/usr/share/icons/hicolor/scalable/apps/leafpad.svg
/usr/share/licenses/leafpad
/usr/share/licenses/leafpad/COPYING
/usr/share/locale/bg/LC_MESSAGES/leafpad.mo
/usr/share/locale/br/LC_MESSAGES/leafpad.mo
/usr/share/locale/ca/LC_MESSAGES/leafpad.mo
/usr/share/locale/cs/LC_MESSAGES/leafpad.mo
/usr/share/locale/da/LC_MESSAGES/leafpad.mo
/usr/share/locale/de/LC_MESSAGES/leafpad.mo
/usr/share/locale/el/LC_MESSAGES/leafpad.mo
/usr/share/locale/eo/LC_MESSAGES/leafpad.mo
/usr/share/locale/es/LC_MESSAGES/leafpad.mo
/usr/share/locale/eu/LC_MESSAGES/leafpad.mo
/usr/share/locale/fi/LC_MESSAGES/leafpad.mo
/usr/share/locale/fr/LC_MESSAGES/leafpad.mo
/usr/share/locale/ga/LC_MESSAGES/leafpad.mo
/usr/share/locale/gl/LC_MESSAGES/leafpad.mo
/usr/share/locale/he/LC_MESSAGES/leafpad.mo
/usr/share/locale/hu/LC_MESSAGES/leafpad.mo
/usr/share/locale/id/LC_MESSAGES/leafpad.mo
/usr/share/locale/it/LC_MESSAGES/leafpad.mo
/usr/share/locale/ja/LC_MESSAGES/leafpad.mo
/usr/share/locale/ko/LC_MESSAGES/leafpad.mo
/usr/share/locale/lt/LC_MESSAGES/leafpad.mo
/usr/share/locale/lv/LC_MESSAGES/leafpad.mo
/usr/share/locale/nl/LC_MESSAGES/leafpad.mo
/usr/share/locale/nn/LC_MESSAGES/leafpad.mo
/usr/share/locale/pl/LC_MESSAGES/leafpad.mo
/usr/share/locale/pt/LC_MESSAGES/leafpad.mo
/usr/share/locale/pt_BR/LC_MESSAGES/leafpad.mo
/usr/share/locale/ru/LC_MESSAGES/leafpad.mo
/usr/share/locale/sk/LC_MESSAGES/leafpad.mo
/usr/share/locale/sl/LC_MESSAGES/leafpad.mo
/usr/share/locale/sr/LC_MESSAGES/leafpad.mo
/usr/share/locale/sv/LC_MESSAGES/leafpad.mo
/usr/share/locale/ta/LC_MESSAGES/leafpad.mo
/usr/share/locale/tr/LC_MESSAGES/leafpad.mo
/usr/share/locale/uk/LC_MESSAGES/leafpad.mo
/usr/share/locale/vi/LC_MESSAGES/leafpad.mo
/usr/share/locale/zh_CN/LC_MESSAGES/leafpad.mo
/usr/share/locale/zh_TW/LC_MESSAGES/leafpad.mo
/usr/share/pixmaps/leafpad.png
/usr/share/pixmaps/leafpad.xpm

References

Summary

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