firewalld command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
firewalld: command not found
or when using sudo you get the following error message
sudo: firewalld: command not found
Solutions to firewalld: command not found
How To Fix firewalld: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu firewalld is provided by firewalld package.
firewalld is:
firewalld is a dynamically managed firewall daemon with support for network/firewall zones to define the trust level of network connections or interfaces. It has support for IPv4, IPv6 firewall settings and for ethernet bridges and has a separation of runtime and persistent configuration options. It also provides a D-Bus interface for services or applications to add and apply firewall rules on-the-fly.
To fix this problem, we can install more using the command below.
sudo apt-get -y install firewalld
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install firewalld.
sudo apt -y install firewalld
Or if you have aptitude installed you can use the following command.
sudo aptitude install firewalld
Summary
In this tutorial we learn how to fix firewalld command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.