powa-collector command not found

In this troubleshooting guide we learn how to fix powa-collector command not found error message

Introduction

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

powa-collector: command not found

or when using sudo you get the following error message

sudo: powa-collector: command not found

Solutions to powa-collector: command not found

How To Fix powa-collector: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu powa-collector is provided by powa-collector package.

powa-collector is:

This repository contains the powa-collector tool, a simple multi-threaded python program that performs the snapshots for all the remote servers configured in a powa repository database (in the powa_servers table).

Related packages:

  • powa-web: web frontend
  • postgresql-powa (postgresql-NN-powa): archivist collecting statistics

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

sudo apt-get -y install powa-collector

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

You can also use apt command to install powa-collector.

sudo apt -y install powa-collector

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

sudo aptitude install powa-collector

Summary

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