shorewall command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
shorewall: command not found
or when using sudo you get the following error message
sudo: shorewall: command not found
Solutions to shorewall: command not found
How To Fix shorewall: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu shorewall is provided by shorewall-core package.
shorewall-core is:
This package provides the core Shorewall components, which are required for the rest of the Shorewall packages to work.
There is not an especially good reason to have this package installed all by itself.
To fix this problem, we can install more using the command below.
sudo apt-get -y install shorewall-core
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install shorewall-core.
sudo apt -y install shorewall-core
Or if you have aptitude installed you can use the following command.
sudo aptitude install shorewall-core
Summary
In this tutorial we learn how to fix shorewall command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.