How To Install librte-eal20.0 on Ubuntu 20.04

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

Introduction

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

What is librte-eal20.0

librte-eal20.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_eal.

Package: librte-eal20.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: 386 Depends: libbsd0 (>= 0.0), libc6 (>= 2.28), libnuma1 (>= 2.0.11), librte-kvargs20.0 (>= 19.11) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-eal20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 113172 MD5sum: 260d754adc709f3acfd14a30dc9cec9f SHA1: 97284e949a4f40044f2aa5acb29d663678fba7f1 SHA256: f62fcf6ef9e38e9b6d9afc43f7e073f75b93ff5c861bf28845dd8b1977712c8a SHA512: 3665d06ed108c03775f812bb2edbcc27e4b89803a34eb50811d956c5010672384d7ba2b7d5dfc08cbb9541c03d8e391df8c113adaf90012b5b602c9a200b0a88 Homepage: https://dpdk.org/doc/api/rte__eal_8h.html Description-en: Data Plane Development Kit (librte-eal 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_eal.

Package: librte-eal20.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: 385 Depends: libbsd0 (>= 0.0), libc6 (>= 2.28), libnuma1 (>= 2.0.11), librte-kvargs20.0 (>= 19.11) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-eal20.0_19.11.1-0ubuntu1_amd64.deb Size: 113160 MD5sum: 24b7af78c24d4df6aad5a0d0baf4b035 SHA1: 3f7043485a819ca8fbe525f1666741dd2cfa9963 SHA256: 59dc5b254679176d5d6c7995f444ef5c182f6b1903ae00850e63ca420a022069 Homepage: https://dpdk.org/doc/api/rte__eal_8h.html Description-en: Data Plane Development Kit (librte-eal 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_eal.

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

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

Install librte-eal20.0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librte-eal20.0

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

sudo aptitude -y install librte-eal20.0

How To Uninstall librte-eal20.0 on Ubuntu 20.04

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

sudo apt-get remove librte-eal20.0

Uninstall librte-eal20.0 And Its Dependencies

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

Remove librte-eal20.0 Configurations and Data

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

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

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

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

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

References

Summary

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