How To Install nfdump on Fedora 34
Introduction
In this tutorial we learn how to install nfdump
on Fedora 34.
What is nfdump
Nfdump is a set of tools to collect and process NetFlow data. It’s fast and has a powerful filter pcap like syntax. It supports NetFlow versions v1, v5, v7, v9 and IPFIX as well as a limited set of sflow. It includes support for CISCO ASA (NSEL) and CISCO NAT (NEL) devices which export event logging records as v9 flows. Nfdump is fully IPv6 compatible.
We can use yum
or dnf
to install nfdump
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install nfdump.
Install nfdump 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 nfdump
using dnf
by running the following command:
sudo dnf -y install nfdump
Install nfdump 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 nfdump
using yum
by running the following command:
sudo yum -y install nfdump
How To Uninstall nfdump on Fedora 34
To uninstall only the nfdump
package we can use the following command:
sudo dnf remove nfdump
nfdump Package Contents on Fedora 34
/usr/bin/nfanon
/usr/bin/nfcapd
/usr/bin/nfdump
/usr/bin/nfexpire
/usr/bin/nfpcapd
/usr/bin/nfprofile
/usr/bin/nfreplay
/usr/bin/nftrack
/usr/bin/sfcapd
/usr/lib/.build-id
/usr/lib/.build-id/00
/usr/lib/.build-id/00/ffd891363020966e026c7e2099220184cf658d
/usr/lib/.build-id/16
/usr/lib/.build-id/16/8483c4c7df741d03382b1f9dafe3e4391dd703
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/6e444f03c55ae65510da098fa9a07bfb5b337e
/usr/lib/.build-id/5e
/usr/lib/.build-id/5e/0dd2f698f2d8ba69a506827691547852a8bbe6
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/63162471d2db8e5224d53815800a318bdc38ca
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/227471db5cf89955f320d9e902596beb69ba9c
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/8abc440aa64ca6cdb339f32f22773d4c7b4454
/usr/lib/.build-id/e4
/usr/lib/.build-id/e4/0dc31f4d8e9564db170ef871444beff82765d8
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/ccac2d2b8b2567dadebf9102b2b13aa80ada10
/usr/share/doc/nfdump
/usr/share/doc/nfdump/AUTHORS
/usr/share/doc/nfdump/ChangeLog
/usr/share/doc/nfdump/README.md
/usr/share/licenses/nfdump
/usr/share/licenses/nfdump/LICENSE
/usr/share/man/man1/ft2nfdump.1.gz
/usr/share/man/man1/nfanon.1.gz
/usr/share/man/man1/nfcapd.1.gz
/usr/share/man/man1/nfdump.1.gz
/usr/share/man/man1/nfexpire.1.gz
/usr/share/man/man1/nfprofile.1.gz
/usr/share/man/man1/nfreplay.1.gz
/usr/share/man/man1/sfcapd.1.gz
/usr/bin/nfanon
/usr/bin/nfcapd
/usr/bin/nfdump
/usr/bin/nfexpire
/usr/bin/nfpcapd
/usr/bin/nfprofile
/usr/bin/nfreplay
/usr/bin/nftrack
/usr/bin/sfcapd
/usr/lib/.build-id
/usr/lib/.build-id/05
/usr/lib/.build-id/05/f8cef1903c67987ff389684323e5d63041ae13
/usr/lib/.build-id/13
/usr/lib/.build-id/13/c7f2505dfed019964c2b395bd74b5378358b3f
/usr/lib/.build-id/1b
/usr/lib/.build-id/1b/d84792b3641e2556bcd46a91dfa71ae98a5262
/usr/lib/.build-id/23
/usr/lib/.build-id/23/dec62972ad89d4c67a764d0fa5554b3f07a8ff
/usr/lib/.build-id/41
/usr/lib/.build-id/41/52884c92142641cf09bb6da7d32b5a2f141dd4
/usr/lib/.build-id/7e
/usr/lib/.build-id/7e/62a5c7973b043c6a6391c8ca423813557663dc
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/79c779a00984f90279b863ac24c56876b89c7b
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/02b1c52db0f5fc2b819bd1ce32952fdf1b5bbd
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/5852cc8c6e679e55ebbf16443f41a50adf44db
/usr/share/doc/nfdump
/usr/share/doc/nfdump/AUTHORS
/usr/share/doc/nfdump/ChangeLog
/usr/share/doc/nfdump/README.md
/usr/share/licenses/nfdump
/usr/share/licenses/nfdump/LICENSE
/usr/share/man/man1/ft2nfdump.1.gz
/usr/share/man/man1/nfanon.1.gz
/usr/share/man/man1/nfcapd.1.gz
/usr/share/man/man1/nfdump.1.gz
/usr/share/man/man1/nfexpire.1.gz
/usr/share/man/man1/nfprofile.1.gz
/usr/share/man/man1/nfreplay.1.gz
/usr/share/man/man1/sfcapd.1.gz
References
Summary
In this tutorial we learn how to install nfdump
on Fedora 34 using yum and dnf.