How To Install nano on Rocky Linux 8
In this tutorial we learn how to install nano on Rocky Linux 8. nano is A small text editor
Introduction
In this tutorial we learn how to install nano
on Rocky Linux 8.
What is nano
GNU nano is a small and friendly text editor.
We can use yum
or dnf
to install nano
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install nano.
Install nano on Rocky Linux 8 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 Rocky Linux 8 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 Rocky Linux 8
To uninstall only the nano
package we can use the following command:
sudo dnf remove nano
nano Package Contents on Rocky Linux 8
/etc/nanorc
/usr/bin/nano
/usr/bin/rnano
/usr/lib/.build-id
/usr/lib/.build-id/01
/usr/lib/.build-id/01/8003f94a9a28da7ceb3f57641cbb4eb86586cb
/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/it/LC_MESSAGES/nano.mo
/usr/share/locale/ja/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/nn/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/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/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/debian.nanorc
/usr/share/nano/default.nanorc
/usr/share/nano/elisp.nanorc
/usr/share/nano/fortran.nanorc
/usr/share/nano/gentoo.nanorc
/usr/share/nano/go.nanorc
/usr/share/nano/groff.nanorc
/usr/share/nano/guile.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/mgp.nanorc
/usr/share/nano/mutt.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/postgresql.nanorc
/usr/share/nano/pov.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/tcl.nanorc
/usr/share/nano/tex.nanorc
/usr/share/nano/texinfo.nanorc
/usr/share/nano/xml.nanorc
References
Summary
In this tutorial we learn how to install nano
on Rocky Linux 8 using yum and dnf.