oinkmaster command not found

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

Introduction

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

oinkmaster: command not found

or when using sudo you get the following error message

sudo: oinkmaster: command not found

Solutions to oinkmaster: command not found

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

In Ubuntu oinkmaster is provided by oinkmaster package.

oinkmaster is:

A simple script to manage and update Snort rules with the capability of disabling, modifying and enabling specific rules after an update. Oinkmaster will tell you exactly what has changed since your last update, giving you good control of your rules. It also can be used to manage updates from both the official provider (www.snort.org) and from other rulesets (www.emergingthreats.net)

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

sudo apt-get -y install oinkmaster

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

You can also use apt command to install oinkmaster.

sudo apt -y install oinkmaster

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

sudo aptitude install oinkmaster

Summary

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