How to Install less command on Ubuntu 20.04 server
How to Install less command on Ubuntu 20.04 server
1. You must log into your Ubuntu 20.04 server via SSH as ‘root’ user or as sudo user
2. Run ‘apt update’ to update the package information
3. Run the command ‘apt install less’ to install the less package.
root@server:/# apt install less
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
less
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 126 kB of archives.
After this operation, 315 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 less amd64 551-1 [126 kB]
Fetched 126 kB in 1s (87.4 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package less.
(Reading database ... 4122 files and directories currently installed.)
Preparing to unpack .../archives/less_551-1_amd64.deb ...
Unpacking less (551-1) ...
Setting up less (551-1) ...
4. Run the command ‘less -V’ to verify the installation by checking less package version

Less command version

How to Install less command Ubuntu 20.04
How to download and install less deb file on Ubuntu 20.04 server
1. Log into your Ubuntu server via SSH as ‘root’ user or as sudo user
2. Download amd64 Less package from Ubuntu website using wget command
3. Install less_551-1_amd64.deb package using dpkg command
Selecting previously unselected package less.
(Reading database … 4464 files and directories currently installed.)
Preparing to unpack less_551-1_amd64.deb …
Unpacking less (551-1) …
Setting up less (551-1) …