apol command not found

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

Introduction

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

apol: command not found

or when using sudo you get the following error message

sudo: apol: command not found

Solutions to apol: command not found

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

In Ubuntu apol is provided by setools-gui package.

setools-gui is:

Security-enhanced Linux is a patch of the Linux kernel and a number of utilities with enhanced security functionality designed to add mandatory access controls to Linux. These are Tools for analysing security policy on SELinux systems.

This package contains the following GUI tool:

  • apol: graphical SELinux policy analysis tool

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

sudo apt-get -y install setools-gui

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

You can also use apt command to install setools-gui.

sudo apt -y install setools-gui

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

sudo aptitude install setools-gui

Summary

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