How To Install gedit on CentOS 8
Introduction
In this tutorial we learn how to install gedit on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install gedit.
Install gedit on CentOS 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache
After updating yum database, We can install gedit using yum by running the following command:
sudo yum -y install gedit
Install gedit on CentOS 8 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf using the following command.
sudo dnf makecache
After updating yum database, We can install gedit using dnf by running the following command:
sudo dnf -y install gedit
How To Uninstall gedit on CentOS 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 CentOS 8 using yum and dnf.