How To Install librte-pmd-pcap20.0 on Ubuntu 20.04

In this tutorial we learn how to install librte-pmd-pcap20.0 on Ubuntu 20.04. librte-pmd-pcap20.0 is Data Plane Development Kit (librte-pmd-pcap runtime library) Data Plane Development Kit (librte-pmd-pcap runtime library) Data Plane Development Kit (librte-pmd-pcap runtime library)

Introduction

In this tutorial we learn how to install librte-pmd-pcap20.0 on Ubuntu 20.04.

What is librte-pmd-pcap20.0

librte-pmd-pcap20.0 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 runtime libraries for librte_pmd_pcap.

Package: librte-pmd-pcap20.0 Architecture: amd64 Version: 19.11.3-0ubuntu0.2 Multi-Arch: same Priority: optional Section: libs Source: dpdk Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian DPDK Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 100 Depends: libbsd0 (>= 0.0), libc6 (>= 2.4), libnuma1 (>= 2.0.11), libpcap0.8 (>= 0.9.8), librte-bus-pci20.0 (>= 19.11), librte-bus-vdev20.0 (>= 19.11), librte-eal20.0 (>= 19.11), librte-ethdev20.0 (>= 19.11), librte-kvargs20.0 (>= 19.11), librte-mbuf20.0 (>= 19.11), librte-mempool20.0 (>= 19.11), librte-meter20.0 (>= 19.08), librte-net20.0 (>= 18.02), librte-pci20.0 (>= 19.11), librte-ring20.0 (>= 19.11) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-pmd-pcap20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 21208 MD5sum: 96859bc6b909e8ea7524069278055ef8 SHA1: 3bdca11bda29b5a1f1a0655e6a38951eeafbf06e SHA256: b712a77d81adc99a6b5c5f21ef63d2a751625b52a9136f07c3da73bc1a6b8b31 SHA512: 3027146960f74c86e36cf7dcb85a65e632115ef8b8aa948b0ad0a90583e601ca7b44e0c7a48cf4dc7222d4d7e55aa5dcd8dc0ea5eaa07ff04fb13e40b2c914f1 Homepage: https://dpdk.org/doc/guides/nics/pcap_ring.html#libpcap-based-pmd Description-en: Data Plane Development Kit (librte-pmd-pcap runtime library) 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 runtime libraries for librte_pmd_pcap.

Package: librte-pmd-pcap20.0 Architecture: amd64 Version: 19.11.1-0ubuntu1 Multi-Arch: same Priority: optional Section: libs Source: dpdk Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Debian DPDK Maintainers [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 99 Depends: libbsd0 (>= 0.0), libc6 (>= 2.4), libnuma1 (>= 2.0.11), libpcap0.8 (>= 0.9.8), librte-bus-pci20.0 (>= 19.11), librte-bus-vdev20.0 (>= 19.11), librte-eal20.0 (>= 19.11), librte-ethdev20.0 (>= 19.11), librte-kvargs20.0 (>= 19.11), librte-mbuf20.0 (>= 19.11), librte-mempool20.0 (>= 19.11), librte-meter20.0 (>= 19.08), librte-net20.0 (>= 18.02), librte-pci20.0 (>= 19.11), librte-ring20.0 (>= 19.11) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-pmd-pcap20.0_19.11.1-0ubuntu1_amd64.deb Size: 21200 MD5sum: 974a85a205cbbd5b5c63d60a4d7741dd SHA1: c0c7ec7c9055eef53918226626943ea860289462 SHA256: 69d010e0bf6224ae02830b6fc53c77af5bddfaf5708d3de22f1be9de53333b82 Homepage: https://dpdk.org/doc/guides/nics/pcap_ring.html#libpcap-based-pmd Description-en: Data Plane Development Kit (librte-pmd-pcap runtime library) 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 runtime libraries for librte_pmd_pcap.

There are three methods to install librte-pmd-pcap20.0 on Ubuntu 20.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 librte-pmd-pcap20.0 Using apt-get

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

sudo apt-get update

After updating apt database, We can install librte-pmd-pcap20.0 using apt-get by running the following command:

sudo apt-get -y install librte-pmd-pcap20.0

Install librte-pmd-pcap20.0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install librte-pmd-pcap20.0 using apt by running the following command:

sudo apt -y install librte-pmd-pcap20.0

Install librte-pmd-pcap20.0 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 librte-pmd-pcap20.0 using aptitude by running the following command:

sudo aptitude -y install librte-pmd-pcap20.0

How To Uninstall librte-pmd-pcap20.0 on Ubuntu 20.04

To uninstall only the librte-pmd-pcap20.0 package we can use the following command:

sudo apt-get remove librte-pmd-pcap20.0

Uninstall librte-pmd-pcap20.0 And Its Dependencies

To uninstall librte-pmd-pcap20.0 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove librte-pmd-pcap20.0

Remove librte-pmd-pcap20.0 Configurations and Data

To remove librte-pmd-pcap20.0 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge librte-pmd-pcap20.0

Remove librte-pmd-pcap20.0 configuration, data, and all of its dependencies

We can use the following command to remove librte-pmd-pcap20.0 configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge librte-pmd-pcap20.0

References

Summary

In this tutorial we learn how to install librte-pmd-pcap20.0 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.