How To Install nano-default-editor on Fedora 36
Introduction
In this tutorial we learn how to install nano-default-editor
on Fedora 36.
What is nano-default-editor
This package ensures the EDITOR shell variable is set in common shells to GNU nano.
We can use yum
or dnf
to install nano-default-editor
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install nano-default-editor.
Install nano-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 nano-default-editor
using dnf
by running the following command:
sudo dnf -y install nano-default-editor
Install nano-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 nano-default-editor
using yum
by running the following command:
sudo yum -y install nano-default-editor
How To Uninstall nano-default-editor on Fedora 36
To uninstall only the nano-default-editor
package we can use the following command:
sudo dnf remove nano-default-editor
nano-default-editor Package Contents on Fedora 36
/etc/profile.d
/etc/profile.d/nano-default-editor.csh
/etc/profile.d/nano-default-editor.sh
/usr/share/fish/vendor_conf.d
/usr/share/fish/vendor_conf.d/nano-default-editor.fish
References
Summary
In this tutorial we learn how to install nano-default-editor
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).