sediff command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sediff: command not found
or when using sudo you get the following error message
sudo: sediff: command not found
Solutions to sediff: command not found
How To Fix sediff: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sediff is provided by setools package.
setools 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 CLI tools:
- sechecker: automated SELinux policy analysis tool
- sediff: SELinux policy difference tool
- sedta: domain transition analysis for SELinux policies
- seinfo: SELinux policy information tool
- seinfoflow: information flow analysis for SELinux policies
- sesearch: SELinux policy query tool
To fix this problem, we can install more using the command below.
sudo apt-get -y install setools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install setools.
sudo apt -y install setools
Or if you have aptitude installed you can use the following command.
sudo aptitude install setools
Summary
In this tutorial we learn how to fix sediff command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.