How To Install dpdk-dev on Kali Linux
Introduction
In this tutorial we learn how to install dpdk-dev
on Kali Linux.
What is dpdk-dev
dpdk-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 tools useful to a developer and for dpdk self tests.
There are three methods to install dpdk-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 dpdk-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 dpdk-dev
using apt-get
by running the following command:
sudo apt-get -y install dpdk-dev
Install dpdk-dev Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install dpdk-dev
using apt
by running the following command:
sudo apt -y install dpdk-dev
Install dpdk-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 dpdk-dev
using aptitude
by running the following command:
sudo aptitude -y install dpdk-dev
How To Uninstall dpdk-dev on Kali Linux
To uninstall only the dpdk-dev
package we can use the following command:
sudo apt-get remove dpdk-dev
Uninstall dpdk-dev And Its Dependencies
To uninstall dpdk-dev
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove dpdk-dev
Remove dpdk-dev Configurations and Data
To remove dpdk-dev
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge dpdk-dev
Remove dpdk-dev configuration, data, and all of its dependencies
We can use the following command to remove dpdk-dev
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge dpdk-dev
Dependencies
dpdk-dev have the following dependencies:
- libdpdk-dev
- python3
- libbsd0
- libc6
- libelf1
- libfdt1
- libjansson4
- libnuma1
- libpcap0.8
- librte-acl21
- librte-baseband-acc100-21
- librte-baseband-fpga-5gnr-fec21
- librte-baseband-fpga-lte-fec21
- librte-bbdev21
- librte-bitratestats21
- librte-bpf21
- librte-bus-dpaa21
- librte-bus-pci21
- librte-bus-vdev21
- librte-cfgfile21
- librte-cmdline21
- librte-common-dpaax21
- librte-compressdev21
- librte-crypto-scheduler21
- librte-cryptodev21
- librte-distributor21
- librte-eal21
- librte-efd21
- librte-ethdev21
- librte-event-skeleton21
- librte-eventdev21
- librte-fib21
- librte-flow-classify21
- librte-graph21
- librte-gro21
- librte-gso21
- librte-hash21
- librte-ip-frag21
- librte-ipsec21
- librte-kni21
- librte-kvargs21
- librte-latencystats21
- librte-lpm21
- librte-mbuf21
- librte-member21
- librte-mempool-dpaa21
- librte-mempool-ring21
- librte-mempool-stack21
- librte-mempool21
- librte-meter21
- librte-metrics21
- librte-net-bnxt21
- librte-net-bond21
- librte-net-dpaa21
- librte-net-i40e21
- librte-net-ixgbe21
- librte-net-ring21
- librte-net21
- librte-node21
- librte-pci21
- librte-pdump21
- librte-pipeline21
- librte-port21
- librte-power21
- librte-rawdev21
- librte-rcu21
- librte-regexdev21
- librte-reorder21
- librte-rib21
- librte-ring21
- librte-sched21
- librte-security21
- librte-stack21
- librte-table21
- librte-telemetry21
- librte-timer21
- zlib1g
References
Summary
In this tutorial we learn how to install dpdk-dev
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.