How To Install broccoli on CentOS 7

In this tutorial we learn how to install broccoli on CentOS 7. broccoli is The bro client communication library

Introduction

In this tutorial we learn how to install broccoli on CentOS 7.

What is broccoli

Broccoli is the “Bro client communications library”. It allows you to create client sensors for the Bro intrusion detection system. Broccoli can speak a good subset of the Bro communication protocol, in particular, it can receive Bro IDs, send and receive Bro events, and send and receive event requests to/from peering Bros. You can currently create and receive values of pure types like integers, counters, timestamps, IP addresses, port numbers, booleans, and strings.

We can use yum or dnf to install broccoli on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install broccoli.

Install broccoli on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install broccoli using yum by running the following command:

sudo yum -y install broccoli

Install broccoli on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install broccoli using dnf by running the following command:

sudo dnf -y install broccoli

How To Uninstall broccoli on CentOS 7

To uninstall only the broccoli package we can use the following command:

sudo dnf remove broccoli

References

Summary

In this tutorial we learn how to install broccoli on CentOS 7 using yum and dnf.