rapolicy command not found

In this troubleshooting guide we learn how to fix rapolicy command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

rapolicy: command not found

or when using sudo you get the following error message

sudo: rapolicy: command not found

Solutions to rapolicy: command not found

How To Fix rapolicy: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu rapolicy is provided by argus-client package.

argus-client is:

argus is a network transaction auditing tool that allows the user to easily classify connections using tcpdump(1) compliant expressions. Argus runs as an application level daemon, promiscuously reading network datagrams from a specified interface, and generates network traffic audit records for the network activity that it encounters. Auditing records can be used to ensure that access control policies are being enforced, identify network problems such as denial of service attacks and more.

This package contains the client programs for the argus server. Please see the package argus-server for the appropriate server.

To fix this problem, we can install more using the command below.

sudo apt-get -y install argus-client

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install argus-client.

sudo apt -y install argus-client

Or if you have aptitude installed you can use the following command.

sudo aptitude install argus-client

Summary

In this tutorial we learn how to fix rapolicy command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.