weblint command not found

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

Introduction

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

weblint: command not found

or when using sudo you get the following error message

sudo: weblint: command not found

Solutions to weblint: command not found

How To Fix weblint: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu weblint is provided by weblint-perl package.

weblint-perl is:

weblint is a perl script which picks fluff off html pages, much in the same way traditional lint picks fluff off C programs.

The script is a complete rewrite of Neil Bowers’ original weblint script. It currently supports HTML 4.0 (and only HTML 4.0).

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

sudo apt-get -y install weblint-perl

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

You can also use apt command to install weblint-perl.

sudo apt -y install weblint-perl

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

sudo aptitude install weblint-perl

Summary

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