yersinia command not found

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

Introduction

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

yersinia: command not found

or when using sudo you get the following error message

sudo: yersinia: command not found

Solutions to yersinia: command not found

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

In Ubuntu yersinia is provided by yersinia package.

yersinia is:

Yersinia is a framework for performing layer 2 attacks. It is designed to take advantage of some weakeness in different network protocols. It pretends to be a solid framework for analyzing and testing the deployed networks and systems.

Attacks for the following network protocols are implemented in this particular release:

  • Spanning Tree Protocol (STP).
  • Cisco Discovery Protocol (CDP).
  • Dynamic Trunking Protocol (DTP).
  • Dynamic Host Configuration Protocol (DHCP).
  • Hot Standby Router Protocol (HSRP).
  • 802.1q.
  • 802.1x.
  • Inter-Switch Link Protocol (ISL).
  • VLAN Trunking Protocol (VTP).

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

sudo apt-get -y install yersinia

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

You can also use apt command to install yersinia.

sudo apt -y install yersinia

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

sudo aptitude install yersinia

Summary

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