How To Install mousepad on AlmaLinux 8

In this tutorial we learn how to install mousepad in AlmaLinux 8. mousepad is Simple text editor for Xfce desktop environment

Introduction

In this tutorial we learn how to install mousepad on AlmaLinux 8.

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 AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mousepad.

Install mousepad on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install mousepad

Install mousepad on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 AlmaLinux 8

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

sudo dnf remove mousepad

References

Summary

In this tutorial we learn how to install mousepad on AlmaLinux 8 using yum and dnf.