How To Install less.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install less.x86_64
on Amazon Linux 2.
What is less.x86_64
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.
We can use yum
to install less.x86_64
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install less.x86_64.
Install less.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
After updating yum database, We can install less.x86_64
using yum
by running the following command:
sudo yum -y install less.x86_64
How To Uninstall less.x86_64 on Amazon Linux 2
To uninstall only the less.x86_64
package we can use the following command:
sudo yum remove less.x86_64
less.x86_64 Package Contents on Amazon Linux 2
/etc/profile.d/less.csh
/etc/profile.d/less.sh
/usr/bin/less
/usr/bin/lessecho
/usr/bin/lesskey
/usr/bin/lesspipe.sh
/usr/share/doc/less-458
/usr/share/doc/less-458/LICENSE
/usr/share/man/man1/less.1.gz
/usr/share/man/man1/lessecho.1.gz
/usr/share/man/man1/lesskey.1.gz
References
Summary
In this tutorial we learn how to install less.x86_64
on Amazon Linux 2 using yum.