packit command not found

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

Introduction

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

packit: command not found

or when using sudo you get the following error message

sudo: packit: command not found

Solutions to packit: command not found

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

In Ubuntu packit is provided by packit package.

packit is:

Packit (PACket toolKIT) is a network auditing tool. It uses libpcap and can make real packages (frames) that are able to travel in a network. Packit also allows one to add personalized payloads. Other good feature is the possibility to read dump files created by tcpdump.

Packit has an ability to customize, inject, monitor and manipulate IP traffic. By allowing you to define (spoof) nearly all TCP, UDP, ICMP, IP, ARP, RARP, and Ethernet header options, Packit can be useful for the following scenarios: - tests in firewalls; - tests in Intrusion Detection Systems (IDS); - tests in Intrusion Prevention Systems (IPS); - tests in proxies; - tests in port scanning detectors; - network traffic simulations; - security tests; and - general TCP/IP auditing and pentests.

Packit is also an excellent tool for learning TCP/IP. However, this program does not support IPv6.

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

sudo apt-get -y install packit

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

You can also use apt command to install packit.

sudo apt -y install packit

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

sudo aptitude install packit

Summary

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