yasat command not found

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

Introduction

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

yasat: command not found

or when using sudo you get the following error message

sudo: yasat: command not found

Solutions to yasat: command not found

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

In Ubuntu yasat is provided by yasat package.

yasat is:

YASAT (Yet Another Stupid Audit Tool) goal is to be as simple as possible with minimum binary dependencies (only sed, grep and cut). Second goal is to document each test with maximum information and links to official documentation. It do many tests for checking security configuration issue or others good practice. It checks many software configurations like: Apache, Bind DNS, CUPS, PHP, kernel configuration, MySQL, network configuration, openvpn, Packages update, samba, snmpd, squid, syslog, tomcat, user accounting, vsftpd, xinetd.

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

sudo apt-get -y install yasat

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

You can also use apt command to install yasat.

sudo apt -y install yasat

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

sudo aptitude install yasat

Summary

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