lft command not found

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

Introduction

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

lft: command not found

or when using sudo you get the following error message

sudo: lft: command not found

Solutions to lft: command not found

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

In Ubuntu lft is provided by lft package.

lft is:

This sends various TCP SYN and FIN probes (differing from Van Jacobson’s UDP-based method) utilizing the IP protocol “time to live” field and attempts to elicit an ICMP TIME_EXCEEDED response from each gateway along the path to some host. lft also listens for various TCP and ICMP messages along the way to assist network managers in ascertaining per-protocol heuristic routing information and can optionally retrieve various information about the networks it traverses.

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

sudo apt-get -y install lft

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

You can also use apt command to install lft.

sudo apt -y install lft

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

sudo aptitude install lft

Summary

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