How To Install zeek-aux on Ubuntu 22.04

In this tutorial we learn how to install zeek-aux on Ubuntu 22.04. zeek-aux is small auxiliary tools for Zeek

Introduction

In this tutorial we learn how to install zeek-aux on Ubuntu 22.04.

What is zeek-aux

zeek-aux is:

This package provides handy auxiliary programs related to the use of the Zeek Network Security Monitor.

The “adtrace” utility is used to compute the network address that compose the internal and extern nets that Zeek is monitoring. The “zeek-cut” utility reads ASCII Zeek logs on standard input and outputs them with only the specified columns (if no column names are specified, then all columns are output). The “nfcollector” and “ftwire2zeek” utilities are for dealing with Zeek’s custom file format for storing NetFlow records.

There are three methods to install zeek-aux on Ubuntu 22.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 zeek-aux Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install zeek-aux

Install zeek-aux Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install zeek-aux

Install zeek-aux 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 zeek-aux using aptitude by running the following command:

sudo aptitude -y install zeek-aux

How To Uninstall zeek-aux on Ubuntu 22.04

To uninstall only the zeek-aux package we can use the following command:

sudo apt-get remove zeek-aux

Uninstall zeek-aux And Its Dependencies

To uninstall zeek-aux and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:

sudo apt-get -y autoremove zeek-aux

Remove zeek-aux Configurations and Data

To remove zeek-aux configuration and data from Ubuntu 22.04 we can use the following command:

sudo apt-get -y purge zeek-aux

Remove zeek-aux configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge zeek-aux

References

Summary

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