poe-gen-tests command not found

In this troubleshooting guide we learn how to fix poe-gen-tests command not found error message

Introduction

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

poe-gen-tests: command not found

or when using sudo you get the following error message

sudo: poe-gen-tests: command not found

Solutions to poe-gen-tests: command not found

How To Fix poe-gen-tests: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu poe-gen-tests is provided by libpoe-test-loops-perl package.

libpoe-test-loops-perl is:

POE::Test::Loops is a Perl helper module that provides a framework for testing the functionality of POE event loops. It contains a single function that sets up all the loop tests for one or more POE::Loop subclasses. It is most useful during development and building of POE event loops.

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

sudo apt-get -y install libpoe-test-loops-perl

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

You can also use apt command to install libpoe-test-loops-perl.

sudo apt -y install libpoe-test-loops-perl

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

sudo aptitude install libpoe-test-loops-perl

Summary

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