How To Install gedit-plugin-editorconfig on CentOS 8

gedit-plugin-editorconfig is EditorConfig plugin for Gedit

Introduction

In this tutorial we learn how to install gedit-plugin-editorconfig on CentOS 8.

What is gedit-plugin-editorconfig

EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs. The EditorConfig project consists of a file format for defining coding styles and a collection of text editor plugins that enable editors to read the file format and adhere to defined styles. EditorConfig files are easily readable and they work nicely with version control systems. This package contains the EditorConfig plugin for GEdit.

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

Install gedit-plugin-editorconfig on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install gedit-plugin-editorconfig using dnf by running the following command:

sudo dnf -y install gedit-plugin-editorconfig

Install gedit-plugin-editorconfig on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install gedit-plugin-editorconfig using yum by running the following command:

sudo yum -y install gedit-plugin-editorconfig

How To Uninstall gedit-plugin-editorconfig on CentOS 8

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

sudo dnf remove gedit-plugin-editorconfig

gedit-plugin-editorconfig Package Contents on CentOS 8

/usr/lib64/gedit/plugins/editorconfig.plugin
/usr/lib64/gedit/plugins/editorconfig_gedit3.py
/usr/lib64/gedit/plugins/editorconfig_plugin
/usr/lib64/gedit/plugins/editorconfig_plugin/__init__.py
/usr/lib64/gedit/plugins/editorconfig_plugin/__pycache__
/usr/lib64/gedit/plugins/editorconfig_plugin/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib64/gedit/plugins/editorconfig_plugin/__pycache__/__init__.cpython-36.pyc
/usr/lib64/gedit/plugins/editorconfig_plugin/__pycache__/gedit2.cpython-36.opt-1.pyc
/usr/lib64/gedit/plugins/editorconfig_plugin/__pycache__/gedit2.cpython-36.pyc
/usr/lib64/gedit/plugins/editorconfig_plugin/__pycache__/gedit3.cpython-36.opt-1.pyc
/usr/lib64/gedit/plugins/editorconfig_plugin/__pycache__/gedit3.cpython-36.pyc
/usr/lib64/gedit/plugins/editorconfig_plugin/__pycache__/shared.cpython-36.opt-1.pyc
/usr/lib64/gedit/plugins/editorconfig_plugin/__pycache__/shared.cpython-36.pyc
/usr/lib64/gedit/plugins/editorconfig_plugin/gedit2.py
/usr/lib64/gedit/plugins/editorconfig_plugin/gedit3.py
/usr/lib64/gedit/plugins/editorconfig_plugin/shared.py
/usr/share/doc/gedit-plugin-editorconfig
/usr/share/doc/gedit-plugin-editorconfig/README.md
/usr/share/licenses/gedit-plugin-editorconfig
/usr/share/licenses/gedit-plugin-editorconfig/LICENSE

References

Summary

In this tutorial we learn how to install gedit-plugin-editorconfig on CentOS 8 using yum and dnf.