How To Install libbroccoli5 on Ubuntu 18.04

In this tutorial we learn how to install libbroccoli5 on Ubuntu 18.04. libbroccoli5 is Bro client communications library

Introduction

In this tutorial we learn how to install libbroccoli5 on Ubuntu 18.04.

What is libbroccoli5

libbroccoli5 is:

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.

There are three methods to install libbroccoli5 on Ubuntu 18.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libbroccoli5 Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install libbroccoli5 using apt-get by running the following command:

sudo apt-get -y install libbroccoli5

Install libbroccoli5 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libbroccoli5 using apt by running the following command:

sudo apt -y install libbroccoli5

Install libbroccoli5 Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libbroccoli5 using aptitude by running the following command:

sudo aptitude -y install libbroccoli5

How To Uninstall libbroccoli5 on Ubuntu 18.04

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

sudo apt-get remove libbroccoli5

Uninstall libbroccoli5 And Its Dependencies

To uninstall libbroccoli5 and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove libbroccoli5

Remove libbroccoli5 Configurations and Data

To remove libbroccoli5 configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge libbroccoli5

Remove libbroccoli5 configuration, data, and all of its dependencies

We can use the following command to remove libbroccoli5 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libbroccoli5

References

Summary

In this tutorial we learn how to install libbroccoli5 package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.