How To Install librte-ethdev20.0 on Ubuntu 20.04

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

Introduction

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

What is librte-ethdev20.0

librte-ethdev20.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 libethdev.

Package: librte-ethdev20.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: 237 Depends: libbsd0 (>= 0.0), libc6 (>= 2.14), libnuma1 (>= 2.0.11), librte-eal20.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 (>= 19.08), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-ethdev20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 58208 MD5sum: 91d6b942d113f7cf404dbce63dd7cced SHA1: a04a7b41a1fb532696f3252349e3b680ef4de3d4 SHA256: 5d046f94d5834a855732a33e79442227e7fd3e04ba306de7ac5ba1b02fb7f84c SHA512: 1615d4af428a1478159880362ce98c216def0e77648ec18439f28a6d4d945de26d7a672a9dcdf6f577fde0733725d9f8e44e377190332d2d2a024c7568dbb91d Homepage: https://dpdk.org/doc/api/rte__ethdev_8h.html Description-en: Data Plane Development Kit (libethdev 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 libethdev.

Package: librte-ethdev20.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: 236 Depends: libbsd0 (>= 0.0), libc6 (>= 2.14), libnuma1 (>= 2.0.11), librte-eal20.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 (>= 19.08), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-ethdev20.0_19.11.1-0ubuntu1_amd64.deb Size: 58416 MD5sum: 39075f31664d346985c57b3079f12425 SHA1: e3ffbaf6bbec63c0497abbd619d833edc35d53c4 SHA256: ce21b22dab3bbb34bae6fadbc751aef0d3cb938ff3ec3e47dc6e5371e14ea646 Homepage: https://dpdk.org/doc/api/rte__ethdev_8h.html Description-en: Data Plane Development Kit (libethdev 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 libethdev.

There are three methods to install librte-ethdev20.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-ethdev20.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-ethdev20.0 using apt-get by running the following command:

sudo apt-get -y install librte-ethdev20.0

Install librte-ethdev20.0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librte-ethdev20.0

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

sudo aptitude -y install librte-ethdev20.0

How To Uninstall librte-ethdev20.0 on Ubuntu 20.04

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

sudo apt-get remove librte-ethdev20.0

Uninstall librte-ethdev20.0 And Its Dependencies

To uninstall librte-ethdev20.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-ethdev20.0

Remove librte-ethdev20.0 Configurations and Data

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

sudo apt-get -y purge librte-ethdev20.0

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

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

sudo apt-get -y autoremove --purge librte-ethdev20.0

References

Summary

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