Information about the package, less, which is shipped with common Linux distributions. The less package is designed for, A text file browser similar to more, but better.
Package Name:
less
Summary:
A text file browser similar to more, but better
Description:
The less utility is a text file browser that resembles more, but has more capabilities. Less allows you to move backwards in the file as well as forwards. Since less doesn't have to read the entire input file before it starts, less starts up more quickly than text editors (for example, vi). You should install less because it is a basic utility for viewing text files, and you'll use it frequently.
Architecture:
x86_64
Version:
436
Release:
13.el6
Size:
197 k
Repository:
installed
From Repository:
base
Licence:
GPLv3+
Control the less package with the following handy commands outlined below.
yum install less
This command will install less on the server.
yum remove less
This command will un-install less on the server. When you run this command, you will be asked if you are sure that you want to remove less, so you have to manually confirm that you want to do this.
yum -y remove less
This command will un-install less 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 less when using the -y flag.
yum update less
This command will update less to the latest version. When you run this command, you will be asked if you are sure that you want to remove less, so you have to manually confirm that you want to do this.
yum -y update less
This command will update less 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 less when using the -y flag.
yum info less
This command will show you core information about the less package.
yum deplist less
This command will show you the dependencies for less. 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 less
This command will check if there is an update waiting on less. 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.