links command not found

In this troubleshooting guide we learn how to fix links command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

links: command not found

or when using sudo you get the following error message

sudo: links: command not found

In Ubuntu links is provided by links package.

links is:

Links is a text mode WWW browser, similar to Lynx. It displays tables, frames, downloads on background, uses HTTP/1.1 keepalive connections.

This version is compiled without graphics mode. See the package links2 for a version with graphics support compiled in.

To fix this problem, we can install more using the command below.

sudo apt-get -y install links

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install links.

sudo apt -y install links

Or if you have aptitude installed you can use the following command.

sudo aptitude install links

Summary

In this tutorial we learn how to fix links command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.