aclgen command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
aclgen: command not found
or when using sudo you get the following error message
sudo: aclgen: command not found
Solutions to aclgen: command not found
How To Fix aclgen: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu aclgen is provided by python3-capirca package.
python3-capirca is:
The capirca framework is a designed to utilize common definitions of networks, services and high-level policy files to facilitate the development and manipulation of network access control lists (ACLs) for various platforms.
The capirca framework consists of capirca Python package and the accompanying aclgen tool.
This package installs the library for Python 3 and the aclgen CLI tool.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-capirca
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-capirca.
sudo apt -y install python3-capirca
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-capirca
Summary
In this tutorial we learn how to fix aclgen command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.