How to install nano on Linux?

GNU nano is a simple text editor for Unix based operating systems for use in a command-line interface. It is licensed under the GNU General Public Use License. It is quite easy to install and takes only one command to install nano.

How to install nano on Linux?

  • Enter this command to install nano for Debian/Ubuntu systems –
$ sudo apt install nano
  • And this one for CentOS/Fedora systems
$ yum install nano
  • This is will install nano successfully and you can check that by entering
$ nano --version
  • The output ideally should be the version number like this –
 GNU nano, version 4.8
(C) 1999-2011, 2013-2020 Free Software Foundation, Inc.
(C) 2014-2020 the contributors to nano
Summary
How to install nano on Linux?
Article Name
How to install nano on Linux?
Description
Learn how to install nano text editor in Linux based systems easily.
Author

Leave a Comment