selint command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
selint: command not found
or when using sudo you get the following error message
sudo: selint: command not found
Solutions to selint: command not found
How To Fix selint: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu selint is provided by selint package.
selint is:
SELint is a program to perform static code analysis on SELinux policy source files.
It is designed for refpolicy style policies and supports the standard SELinux policy language (not CIL).
It performs various checks from incorrect filecontext definitions over missing or superfluous required entries in interfaces to violations of the refpolicy style guide. All categories can be either enabled or disabled via the command line or a configuration file.
To fix this problem, we can install more using the command below.
sudo apt-get -y install selint
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install selint.
sudo apt -y install selint
Or if you have aptitude installed you can use the following command.
sudo aptitude install selint
Summary
In this tutorial we learn how to fix selint command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.