slon command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
slon: command not found
or when using sudo you get the following error message
sudo: slon: command not found
Solutions to slon: command not found
How To Fix slon: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu slon is provided by slony1-2-bin package.
slony1-2-bin is:
Slony-I is an asynchronous master-to-multiple-slaves replication system for PostgreSQL with cascading and slave promotion.
This package contains the slon daemon and the slonik administration tool. It should be installed on those hosts where Slony-I daemons are to be run or administered, which usually, but not necessarily, are the hosts where the database server nodes are running.
To fix this problem, we can install more using the command below.
sudo apt-get -y install slony1-2-bin
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install slony1-2-bin.
sudo apt -y install slony1-2-bin
Or if you have aptitude installed you can use the following command.
sudo aptitude install slony1-2-bin
Summary
In this tutorial we learn how to fix slon command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.