How To Install nano on Fedora 36

In this tutorial we learn how to install nano in Fedora 36. nano is A small text editor

Introduction

In this tutorial we learn how to install nano on Fedora 36.

What is nano

GNU nano is a small and friendly text editor.

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

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

sudo dnf -y install nano

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

sudo yum -y install nano

How To Uninstall nano on Fedora 36

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

sudo dnf remove nano

nano Package Contents on Fedora 36

/etc/nanorc
/usr/bin/nano
/usr/bin/rnano
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/d6d76387a5e0383c45dd21459c2000c875ab97
/usr/share/doc/nano
/usr/share/doc/nano/AUTHORS
/usr/share/doc/nano/COPYING
/usr/share/doc/nano/ChangeLog
/usr/share/doc/nano/INSTALL
/usr/share/doc/nano/NEWS
/usr/share/doc/nano/README
/usr/share/doc/nano/THANKS
/usr/share/doc/nano/TODO
/usr/share/doc/nano/faq.html
/usr/share/doc/nano/nano.html
/usr/share/doc/nano/sample.nanorc
/usr/share/info/nano.info.gz
/usr/share/locale/bg/LC_MESSAGES/nano.mo
/usr/share/locale/ca/LC_MESSAGES/nano.mo
/usr/share/locale/cs/LC_MESSAGES/nano.mo
/usr/share/locale/da/LC_MESSAGES/nano.mo
/usr/share/locale/de/LC_MESSAGES/nano.mo
/usr/share/locale/eo/LC_MESSAGES/nano.mo
/usr/share/locale/es/LC_MESSAGES/nano.mo
/usr/share/locale/eu/LC_MESSAGES/nano.mo
/usr/share/locale/fi/LC_MESSAGES/nano.mo
/usr/share/locale/fr/LC_MESSAGES/nano.mo
/usr/share/locale/ga/LC_MESSAGES/nano.mo
/usr/share/locale/gl/LC_MESSAGES/nano.mo
/usr/share/locale/hr/LC_MESSAGES/nano.mo
/usr/share/locale/hu/LC_MESSAGES/nano.mo
/usr/share/locale/id/LC_MESSAGES/nano.mo
/usr/share/locale/is/LC_MESSAGES/nano.mo
/usr/share/locale/it/LC_MESSAGES/nano.mo
/usr/share/locale/ja/LC_MESSAGES/nano.mo
/usr/share/locale/ko/LC_MESSAGES/nano.mo
/usr/share/locale/ms/LC_MESSAGES/nano.mo
/usr/share/locale/nb/LC_MESSAGES/nano.mo
/usr/share/locale/nl/LC_MESSAGES/nano.mo
/usr/share/locale/pl/LC_MESSAGES/nano.mo
/usr/share/locale/pt/LC_MESSAGES/nano.mo
/usr/share/locale/pt_BR/LC_MESSAGES/nano.mo
/usr/share/locale/ro/LC_MESSAGES/nano.mo
/usr/share/locale/ru/LC_MESSAGES/nano.mo
/usr/share/locale/sk/LC_MESSAGES/nano.mo
/usr/share/locale/sl/LC_MESSAGES/nano.mo
/usr/share/locale/sr/LC_MESSAGES/nano.mo
/usr/share/locale/sv/LC_MESSAGES/nano.mo
/usr/share/locale/tr/LC_MESSAGES/nano.mo
/usr/share/locale/uk/LC_MESSAGES/nano.mo
/usr/share/locale/vi/LC_MESSAGES/nano.mo
/usr/share/locale/zh_CN/LC_MESSAGES/nano.mo
/usr/share/locale/zh_TW/LC_MESSAGES/nano.mo
/usr/share/man/man1/nano.1.gz
/usr/share/man/man1/rnano.1.gz
/usr/share/man/man5/nanorc.5.gz
/usr/share/nano
/usr/share/nano/ada.nanorc
/usr/share/nano/asm.nanorc
/usr/share/nano/autoconf.nanorc
/usr/share/nano/awk.nanorc
/usr/share/nano/c.nanorc
/usr/share/nano/changelog.nanorc
/usr/share/nano/cmake.nanorc
/usr/share/nano/css.nanorc
/usr/share/nano/default.nanorc
/usr/share/nano/elisp.nanorc
/usr/share/nano/email.nanorc
/usr/share/nano/fortran.nanorc
/usr/share/nano/go.nanorc
/usr/share/nano/groff.nanorc
/usr/share/nano/guile.nanorc
/usr/share/nano/haskell.nanorc
/usr/share/nano/html.nanorc
/usr/share/nano/java.nanorc
/usr/share/nano/javascript.nanorc
/usr/share/nano/json.nanorc
/usr/share/nano/lua.nanorc
/usr/share/nano/makefile.nanorc
/usr/share/nano/man.nanorc
/usr/share/nano/markdown.nanorc
/usr/share/nano/nanohelp.nanorc
/usr/share/nano/nanorc.nanorc
/usr/share/nano/nftables.nanorc
/usr/share/nano/objc.nanorc
/usr/share/nano/ocaml.nanorc
/usr/share/nano/patch.nanorc
/usr/share/nano/perl.nanorc
/usr/share/nano/php.nanorc
/usr/share/nano/po.nanorc
/usr/share/nano/povray.nanorc
/usr/share/nano/python.nanorc
/usr/share/nano/ruby.nanorc
/usr/share/nano/rust.nanorc
/usr/share/nano/sh.nanorc
/usr/share/nano/spec.nanorc
/usr/share/nano/sql.nanorc
/usr/share/nano/tcl.nanorc
/usr/share/nano/tex.nanorc
/usr/share/nano/texinfo.nanorc
/usr/share/nano/xml.nanorc
/usr/share/nano/yaml.nanorc

References

Summary

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