How To Install mousepad on Fedora 34

mousepad is Simple text editor for Xfce desktop environment

Introduction

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

What is mousepad

Mousepad aims to be an easy-to-use and fast editor. It’s target is an editor for quickly editing text files, not a development environment or an editor with a huge bunch of plugins. Mousepad is based on Leafpad. The initial reason for Mousepad was to provide printing support, which would have been difficult for Leafpad for various reasons. Although some features are under development, currently Mousepad has following features * Complete support for UTF-8 text * Cut/Copy/Paste and Select All text * Search and Replace * Font selecton * Word Wrap * Character coding selection * Auto character coding detection (UTF-8 and some codesets) * Manual codeset setting * Infinite Undo/Redo by word * Auto Indent * Multi-line Indent * Display line numbers * Drag and Drop * Printing

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

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

sudo dnf -y install mousepad

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

sudo yum -y install mousepad

How To Uninstall mousepad on Fedora 34

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

sudo dnf remove mousepad

mousepad Package Contents on Fedora 34

/usr/bin/mousepad
/usr/lib/.build-id
/usr/lib/.build-id/14
/usr/lib/.build-id/14/195f33c6a7adeb8843543d9712ea6baa42c418
/usr/share/applications/mousepad-settings.desktop
/usr/share/applications/mousepad.desktop
/usr/share/doc/mousepad
/usr/share/doc/mousepad/AUTHORS
/usr/share/doc/mousepad/NEWS
/usr/share/doc/mousepad/THANKS
/usr/share/glib-2.0/schemas/org.xfce.mousepad.gschema.xml
/usr/share/icons/hicolor/128x128/apps/org.xfce.mousepad.png
/usr/share/icons/hicolor/16x16/apps/org.xfce.mousepad.png
/usr/share/icons/hicolor/48x48/apps/org.xfce.mousepad.png
/usr/share/icons/hicolor/scalable/apps/org.xfce.mousepad.svg
/usr/share/licenses/mousepad
/usr/share/licenses/mousepad/COPYING
/usr/share/locale/ar/LC_MESSAGES/mousepad.mo
/usr/share/locale/ast/LC_MESSAGES/mousepad.mo
/usr/share/locale/be/LC_MESSAGES/mousepad.mo
/usr/share/locale/bg/LC_MESSAGES/mousepad.mo
/usr/share/locale/ca/LC_MESSAGES/mousepad.mo
/usr/share/locale/cs/LC_MESSAGES/mousepad.mo
/usr/share/locale/da/LC_MESSAGES/mousepad.mo
/usr/share/locale/de/LC_MESSAGES/mousepad.mo
/usr/share/locale/el/LC_MESSAGES/mousepad.mo
/usr/share/locale/en_AU/LC_MESSAGES/mousepad.mo
/usr/share/locale/en_GB/LC_MESSAGES/mousepad.mo
/usr/share/locale/es/LC_MESSAGES/mousepad.mo
/usr/share/locale/et/LC_MESSAGES/mousepad.mo
/usr/share/locale/eu/LC_MESSAGES/mousepad.mo
/usr/share/locale/fa_IR/LC_MESSAGES/mousepad.mo
/usr/share/locale/fi/LC_MESSAGES/mousepad.mo
/usr/share/locale/fr/LC_MESSAGES/mousepad.mo
/usr/share/locale/gl/LC_MESSAGES/mousepad.mo
/usr/share/locale/he/LC_MESSAGES/mousepad.mo
/usr/share/locale/hr/LC_MESSAGES/mousepad.mo
/usr/share/locale/hu/LC_MESSAGES/mousepad.mo
/usr/share/locale/hy_AM/LC_MESSAGES/mousepad.mo
/usr/share/locale/hye/LC_MESSAGES/mousepad.mo
/usr/share/locale/id/LC_MESSAGES/mousepad.mo
/usr/share/locale/ie/LC_MESSAGES/mousepad.mo
/usr/share/locale/is/LC_MESSAGES/mousepad.mo
/usr/share/locale/it/LC_MESSAGES/mousepad.mo
/usr/share/locale/ja/LC_MESSAGES/mousepad.mo
/usr/share/locale/kk/LC_MESSAGES/mousepad.mo
/usr/share/locale/ko/LC_MESSAGES/mousepad.mo
/usr/share/locale/lt/LC_MESSAGES/mousepad.mo
/usr/share/locale/ms/LC_MESSAGES/mousepad.mo
/usr/share/locale/nb/LC_MESSAGES/mousepad.mo
/usr/share/locale/nl/LC_MESSAGES/mousepad.mo
/usr/share/locale/nn/LC_MESSAGES/mousepad.mo
/usr/share/locale/oc/LC_MESSAGES/mousepad.mo
/usr/share/locale/pl/LC_MESSAGES/mousepad.mo
/usr/share/locale/pt/LC_MESSAGES/mousepad.mo
/usr/share/locale/pt_BR/LC_MESSAGES/mousepad.mo
/usr/share/locale/ro/LC_MESSAGES/mousepad.mo
/usr/share/locale/ru/LC_MESSAGES/mousepad.mo
/usr/share/locale/sk/LC_MESSAGES/mousepad.mo
/usr/share/locale/sl/LC_MESSAGES/mousepad.mo
/usr/share/locale/sq/LC_MESSAGES/mousepad.mo
/usr/share/locale/sr/LC_MESSAGES/mousepad.mo
/usr/share/locale/sv/LC_MESSAGES/mousepad.mo
/usr/share/locale/te/LC_MESSAGES/mousepad.mo
/usr/share/locale/th/LC_MESSAGES/mousepad.mo
/usr/share/locale/tr/LC_MESSAGES/mousepad.mo
/usr/share/locale/ug/LC_MESSAGES/mousepad.mo
/usr/share/locale/uk/LC_MESSAGES/mousepad.mo
/usr/share/locale/zh_CN/LC_MESSAGES/mousepad.mo
/usr/share/locale/zh_TW/LC_MESSAGES/mousepad.mo
/usr/share/metainfo/mousepad.appdata.xml
/usr/share/polkit-1/actions/org.xfce.mousepad.policy
/usr/bin/mousepad
/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/accbf02ed76f45dce65f4cc35e7096ab00bcbb
/usr/share/applications/mousepad.desktop
/usr/share/doc/mousepad
/usr/share/doc/mousepad/AUTHORS
/usr/share/doc/mousepad/NEWS
/usr/share/doc/mousepad/THANKS
/usr/share/glib-2.0/schemas/org.xfce.mousepad.gschema.xml
/usr/share/icons/hicolor/128x128/apps/org.xfce.mousepad.png
/usr/share/icons/hicolor/16x16/apps/org.xfce.mousepad.png
/usr/share/icons/hicolor/48x48/apps/org.xfce.mousepad.png
/usr/share/icons/hicolor/scalable/apps/org.xfce.mousepad.svg
/usr/share/licenses/mousepad
/usr/share/licenses/mousepad/COPYING
/usr/share/locale/ar/LC_MESSAGES/mousepad.mo
/usr/share/locale/ast/LC_MESSAGES/mousepad.mo
/usr/share/locale/be/LC_MESSAGES/mousepad.mo
/usr/share/locale/bg/LC_MESSAGES/mousepad.mo
/usr/share/locale/ca/LC_MESSAGES/mousepad.mo
/usr/share/locale/cs/LC_MESSAGES/mousepad.mo
/usr/share/locale/da/LC_MESSAGES/mousepad.mo
/usr/share/locale/de/LC_MESSAGES/mousepad.mo
/usr/share/locale/el/LC_MESSAGES/mousepad.mo
/usr/share/locale/en_AU/LC_MESSAGES/mousepad.mo
/usr/share/locale/en_GB/LC_MESSAGES/mousepad.mo
/usr/share/locale/es/LC_MESSAGES/mousepad.mo
/usr/share/locale/et/LC_MESSAGES/mousepad.mo
/usr/share/locale/eu/LC_MESSAGES/mousepad.mo
/usr/share/locale/fi/LC_MESSAGES/mousepad.mo
/usr/share/locale/fr/LC_MESSAGES/mousepad.mo
/usr/share/locale/gl/LC_MESSAGES/mousepad.mo
/usr/share/locale/he/LC_MESSAGES/mousepad.mo
/usr/share/locale/hr/LC_MESSAGES/mousepad.mo
/usr/share/locale/hu/LC_MESSAGES/mousepad.mo
/usr/share/locale/hy_AM/LC_MESSAGES/mousepad.mo
/usr/share/locale/hye/LC_MESSAGES/mousepad.mo
/usr/share/locale/id/LC_MESSAGES/mousepad.mo
/usr/share/locale/ie/LC_MESSAGES/mousepad.mo
/usr/share/locale/is/LC_MESSAGES/mousepad.mo
/usr/share/locale/it/LC_MESSAGES/mousepad.mo
/usr/share/locale/ja/LC_MESSAGES/mousepad.mo
/usr/share/locale/kk/LC_MESSAGES/mousepad.mo
/usr/share/locale/ko/LC_MESSAGES/mousepad.mo
/usr/share/locale/lt/LC_MESSAGES/mousepad.mo
/usr/share/locale/ms/LC_MESSAGES/mousepad.mo
/usr/share/locale/nb/LC_MESSAGES/mousepad.mo
/usr/share/locale/nl/LC_MESSAGES/mousepad.mo
/usr/share/locale/nn/LC_MESSAGES/mousepad.mo
/usr/share/locale/oc/LC_MESSAGES/mousepad.mo
/usr/share/locale/pl/LC_MESSAGES/mousepad.mo
/usr/share/locale/pt/LC_MESSAGES/mousepad.mo
/usr/share/locale/pt_BR/LC_MESSAGES/mousepad.mo
/usr/share/locale/ro/LC_MESSAGES/mousepad.mo
/usr/share/locale/ru/LC_MESSAGES/mousepad.mo
/usr/share/locale/sk/LC_MESSAGES/mousepad.mo
/usr/share/locale/sl/LC_MESSAGES/mousepad.mo
/usr/share/locale/sq/LC_MESSAGES/mousepad.mo
/usr/share/locale/sr/LC_MESSAGES/mousepad.mo
/usr/share/locale/sv/LC_MESSAGES/mousepad.mo
/usr/share/locale/te/LC_MESSAGES/mousepad.mo
/usr/share/locale/th/LC_MESSAGES/mousepad.mo
/usr/share/locale/tr/LC_MESSAGES/mousepad.mo
/usr/share/locale/ug/LC_MESSAGES/mousepad.mo
/usr/share/locale/uk/LC_MESSAGES/mousepad.mo
/usr/share/locale/zh_CN/LC_MESSAGES/mousepad.mo
/usr/share/locale/zh_TW/LC_MESSAGES/mousepad.mo
/usr/share/metainfo/mousepad.appdata.xml
/usr/share/polkit-1/actions/org.xfce.mousepad.policy

References

Summary

In this tutorial we learn how to install mousepad on Fedora 34 using yum and dnf.