How To Install daq on Fedora 34

daq is Data Acquisition Library Data Acquisition Library

Introduction

In this tutorial we learn how to install daq on Fedora 34.

What is daq

Snort 2.9 introduces the DAQ, or Data Acquisition library, for packet I/O. The DAQ replaces direct calls to libpcap functions with an abstraction layer that facilitates operation on a variety of hardware and software interfaces without requiring changes to Snort. daq 2.0.6 11.fc34 x86_64 94 k daq-2.0.6-11.fc34.src.rpm fedora Data Acquisition Library https GPLv2 and BSD Snort 2.9 introduces the DAQ, or Data Acquisition library, for packet I/O. The DAQ replaces direct calls to libpcap functions with an abstraction layer that facilitates operation on a variety of hardware and software interfaces without requiring changes to Snort.

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

Install daq on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install daq

Install daq on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo yum -y install daq

How To Uninstall daq on Fedora 34

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

sudo dnf remove daq

daq Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/211d4f503c477e9f78d140197f3b942c515bda
/usr/lib/.build-id/dd
/usr/lib/.build-id/dd/7928dfb3164945c15009f76725b5fce39802d2
/usr/lib/libdaq.so.2
/usr/lib/libdaq.so.2.0.4
/usr/lib/libsfbpf.so.0
/usr/lib/libsfbpf.so.0.0.1
/usr/share/doc/daq
/usr/share/doc/daq/ChangeLog
/usr/share/doc/daq/README
/usr/share/licenses/daq
/usr/share/licenses/daq/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/17b0c7caa75807c6fd526faed4ced2d6fd36b5
/usr/lib/.build-id/ed
/usr/lib/.build-id/ed/aef17fbf138fcea983a950b8c4b072894294e9
/usr/lib64/libdaq.so.2
/usr/lib64/libdaq.so.2.0.4
/usr/lib64/libsfbpf.so.0
/usr/lib64/libsfbpf.so.0.0.1
/usr/share/doc/daq
/usr/share/doc/daq/ChangeLog
/usr/share/doc/daq/README
/usr/share/licenses/daq
/usr/share/licenses/daq/COPYING

References

Summary

In this tutorial we learn how to install daq on Fedora 34 using yum and dnf.