How To Install gedit on AlmaLinux 8

In this tutorial we learn how to install gedit in AlmaLinux 8. gedit is Text editor for the GNOME desktop

Introduction

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

What is gedit

gedit is a small, but powerful text editor designed specifically for the GNOME desktop. It has most standard text editor functions and fully supports international text in Unicode. Advanced features include syntax highlighting and automatic indentation of source code, printing and editing of multiple documents in one window. gedit is extensible through a plugin system, which currently includes support for spell checking, comparing files, viewing CVS ChangeLogs, and adjusting indentation levels. Further plugins can be found in the gedit-plugins package.

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

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

sudo dnf -y install gedit

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

sudo yum -y install gedit

How To Uninstall gedit on AlmaLinux 8

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

sudo dnf remove gedit

References

Summary

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