pglistener command not found

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

Introduction

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

pglistener: command not found

or when using sudo you get the following error message

sudo: pglistener: command not found

Solutions to pglistener: command not found

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

In Ubuntu pglistener is provided by pglistener package.

pglistener is:

pglistener is a daemon that generates files from Postgres database.

It is a tool that listens for notifies from a Postgres database and then calls out to a number of hooks which do everything from updating the password database to updating accounts in RT.

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

sudo apt-get -y install pglistener

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

You can also use apt command to install pglistener.

sudo apt -y install pglistener

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

sudo aptitude install pglistener

Summary

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