Information about the package, nano, which is shipped with common Linux distributions. The nano package is designed for, A small text editor.
Package Name:
nano
Summary:
A small text editor
Description:
GNU nano is a small and friendly text editor.
Architecture:
x86_64
Version:
2.0.9
Release:
7.el6
Size:
1.5 M
Repository:
installed
From Repository:
base
Licence:
GPLv3+
Control the nano package with the following handy commands outlined below.
yum install nano
This command will install nano on the server.
yum remove nano
This command will un-install nano on the server. When you run this command, you will be asked if you are sure that you want to remove nano, so you have to manually confirm that you want to do this.
yum -y remove nano
This command will un-install nano on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove nano when using the -y flag.
yum update nano
This command will update nano to the latest version. When you run this command, you will be asked if you are sure that you want to remove nano, so you have to manually confirm that you want to do this.
yum -y update nano
This command will update nano to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove nano when using the -y flag.
yum info nano
This command will show you core information about the nano package.
yum deplist nano
This command will show you the dependencies for nano. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update nano
This command will check if there is an update waiting on nano. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.