How To Install libdpdk-dev on Kali Linux
Introduction
In this tutorial we learn how to install libdpdk-dev
on Kali Linux.
What is libdpdk-dev
libdpdk-dev is:
DPDK is a set of libraries for fast packet processing. Applications run in user-space and communicate directly with dedicated network interfaces.
This package contains the basic headers and library files required to build external applications which will also require at least SSE3 support when running.
libdpdk.pc: note that CFLAGS might contain an -march flag higher than typical baseline. This is required for a number of static inline functions in the public headers.
There are three methods to install libdpdk-dev
on Kali Linux. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libdpdk-dev Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libdpdk-dev
using apt-get
by running the following command:
sudo apt-get -y install libdpdk-dev
Install libdpdk-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libdpdk-dev
using apt
by running the following command:
sudo apt -y install libdpdk-dev
Install libdpdk-dev Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libdpdk-dev
using aptitude
by running the following command:
sudo aptitude -y install libdpdk-dev
How To Uninstall libdpdk-dev on Kali Linux
To uninstall only the libdpdk-dev
package we can use the following command:
sudo apt-get remove libdpdk-dev
Uninstall libdpdk-dev And Its Dependencies
To uninstall libdpdk-dev
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libdpdk-dev
Remove libdpdk-dev Configurations and Data
To remove libdpdk-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libdpdk-dev
Remove libdpdk-dev configuration, data, and all of its dependencies
We can use the following command to remove libdpdk-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libdpdk-dev
Dependencies
libdpdk-dev have the following dependencies:
- libbpf-dev
- libbsd-dev
- libibverbs-dev
- libipsec-mb-dev
- libisal-dev
- libelf-dev
- libfdt-dev
- libjansson-dev
- libmnl-dev
- libnuma-dev
- libpcap-dev
- libssl-dev
- zlib1g-dev
- librte-acl21
- librte-baseband-acc100-21
- librte-baseband-fpga-5gnr-fec21
- librte-baseband-fpga-lte-fec21
- librte-baseband-null21
- librte-baseband-turbo-sw21
- librte-bbdev21
- librte-bitratestats21
- librte-bpf21
- librte-bus-dpaa21
- librte-bus-fslmc21
- librte-bus-ifpga21
- librte-bus-pci21
- librte-bus-vdev21
- librte-bus-vmbus21
- librte-cfgfile21
- librte-cmdline21
- librte-common-cpt21
- librte-common-dpaax21
- librte-common-iavf21
- librte-common-mlx5-21
- librte-common-octeontx2-21
- librte-common-octeontx21
- librte-common-qat21
- librte-common-sfc-efx21
- librte-compress-isal21
- librte-compress-octeontx21
- librte-compress-zlib21
- librte-compressdev21
- librte-crypto-aesni-gcm21
- librte-crypto-aesni-mb21
- librte-crypto-bcmfs21
- librte-crypto-caam-jr21
- librte-crypto-ccp21
- librte-crypto-dpaa-sec21
- librte-crypto-dpaa2-sec21
- librte-crypto-kasumi21
- librte-crypto-nitrox21
- librte-crypto-null21
- librte-crypto-octeontx2-21
- librte-crypto-octeontx21
- librte-crypto-openssl21
- librte-crypto-scheduler21
- librte-crypto-snow3g21
- librte-crypto-virtio21
- librte-crypto-zuc21
- librte-cryptodev21
- librte-distributor21
- librte-eal21
- librte-efd21
- librte-ethdev21
- librte-event-dlb2-21
- librte-event-dlb21
- librte-event-dpaa2-21
- librte-event-dpaa21
- librte-event-dsw21
- librte-event-octeontx2-21
- librte-event-octeontx21
- librte-event-opdl21
- librte-event-skeleton21
- librte-event-sw21
- librte-eventdev21
- librte-fib21
- librte-flow-classify21
- librte-graph21
- librte-gro21
- librte-gso21
- librte-hash21
- librte-ip-frag21
- librte-ipsec21
- librte-jobstats21
- librte-kni21
- librte-kvargs21
- librte-latencystats21
- librte-lpm21
- librte-mbuf21
- librte-member21
- librte-mempool-bucket21
- librte-mempool-dpaa2-21
- librte-mempool-dpaa21
- librte-mempool-octeontx2-21
- librte-mempool-octeontx21
- librte-mempool-ring21
- librte-mempool-stack21
- librte-mempool21
- librte-meta-all
- librte-meta-allpmds
- librte-meta-baseband
- librte-meta-bus
- librte-meta-compress
- librte-meta-crypto
- librte-meta-event
- librte-meta-mempool
- librte-meta-net
- librte-meta-raw
- librte-meter21
- librte-metrics21
- librte-net-af-packet21
- librte-net-af-xdp21
- librte-net-ark21
- librte-net-atlantic21
- librte-net-avp21
- librte-net-axgbe21
- librte-net-bnx2x21
- librte-net-bnxt21
- librte-net-bond21
- librte-net-cxgbe21
- librte-net-dpaa2-21
- librte-net-dpaa21
- librte-net-e1000-21
- librte-net-ena21
- librte-net-enetc21
- librte-net-enic21
- librte-net-failsafe21
- librte-net-fm10k21
- librte-net-hinic21
- librte-net-hns3-21
- librte-net-i40e21
- librte-net-iavf21
- librte-net-ice21
- librte-net-igc21
- librte-net-ipn3ke21
- librte-net-ixgbe21
- librte-net-kni21
- librte-net-liquidio21
- librte-net-memif21
- librte-net-mlx4-21
- librte-net-mlx5-21
- librte-net-netvsc21
- librte-net-nfp21
- librte-net-null21
- librte-net-octeontx2-21
- librte-net-octeontx21
- librte-net-pcap21
- librte-net-pfe21
- librte-net-qede21
- librte-net-ring21
- librte-net-sfc21
- librte-net-softnic21
- librte-net-tap21
- librte-net-thunderx21
- librte-net-txgbe21
- librte-net-vdev-netvsc21
- librte-net-vhost21
- librte-net-virtio21
- librte-net-vmxnet3-21
- librte-net21
- librte-node21
- librte-pci21
- librte-pdump21
- librte-pipeline21
- librte-port21
- librte-power21
- librte-raw-dpaa2-cmdif21
- librte-raw-dpaa2-qdma21
- librte-raw-ifpga21
- librte-raw-ioat21
- librte-raw-ntb21
- librte-raw-octeontx2-dma21
- librte-raw-octeontx2-ep21
- librte-raw-skeleton21
- librte-rawdev21
- librte-rcu21
- librte-regex-mlx5-21
- librte-regex-octeontx2-21
- librte-regexdev21
- librte-reorder21
- librte-rib21
- librte-ring21
- librte-sched21
- librte-security21
- librte-stack21
- librte-table21
- librte-telemetry21
- librte-timer21
- librte-vdpa-ifc21
- librte-vdpa-mlx5-21
- librte-vhost21
References
Summary
In this tutorial we learn how to install libdpdk-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.