logswan command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
logswan: command not found
or when using sudo you get the following error message
sudo: logswan: command not found
Solutions to logswan: command not found
How To Fix logswan: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu logswan is provided by logswan package.
logswan is:
This is a fast Web log analyzer using probabilistic data structures. It is targeted at very large log files, typically APIs logs. It has constant memory usage regardless of the log file size, and takes approximatively 4 MB of RAM.
Unique visitors counting is performed using two HyperLogLog counters (one for IPv4, and another one for IPv6), providing a relative accuracy of 0.10%.
To fix this problem, we can install more using the command below.
sudo apt-get -y install logswan
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install logswan.
sudo apt -y install logswan
Or if you have aptitude installed you can use the following command.
sudo aptitude install logswan
Summary
In this tutorial we learn how to fix logswan command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.