How To Install default-editor on Fedora 36

In this tutorial we learn how to install default-editor in Fedora 36. default-editor is Metapackage for DNF group

Introduction

In this tutorial we learn how to install default-editor on Fedora 36.

What is default-editor

The package acts as a placeholder in DNF group ‘Standard’, which will install nano-default-editor on fresh installs and it will not block users who don’t have nano as a default editor during upgrade.

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

Install default-editor on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install default-editor

Install default-editor on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install default-editor using yum by running the following command:

sudo yum -y install default-editor

How To Uninstall default-editor on Fedora 36

To uninstall only the default-editor package we can use the following command:

sudo dnf remove default-editor

default-editor Package Contents on Fedora 36

References

Summary

In this tutorial we learn how to install default-editor on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).