sarg command not found

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

Introduction

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

sarg: command not found

or when using sudo you get the following error message

sudo: sarg: command not found

Solutions to sarg: command not found

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

In Ubuntu sarg is provided by sarg package.

sarg is:

Sarg is a Squid Analysis Report Generator that allow you to view “where” your users are going to on the Internet. Sarg generate reports in html, with many fields, like: users, IP Addresses, bytes, sites and times.

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

sudo apt-get -y install sarg

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

You can also use apt command to install sarg.

sudo apt -y install sarg

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

sudo aptitude install sarg

Summary

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