How To Install librte-pmd-mlx5-20.0 on Ubuntu 20.04

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

Introduction

In this tutorial we learn how to install librte-pmd-mlx5-20.0 on Ubuntu 20.04.

What is librte-pmd-mlx5-20.0

librte-pmd-mlx5-20.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-mlx5.

Package: librte-pmd-mlx5-20.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: 1469 Depends: ibverbs-providers (>= 28), libbsd0 (>= 0.0), libc6 (>= 2.28), libibverbs1 (>= 28), libnuma1 (>= 2.0.11), librte-bus-pci20.0 (>= 19.11), librte-bus-vdev20.0 (>= 19.11), librte-eal20.0 (>= 19.11), librte-ethdev20.0 (>= 19.11), librte-hash20.0 (>= 18.11), librte-kvargs20.0 (>= 19.11), librte-mbuf20.0 (>= 19.08), librte-mempool20.0 (>= 19.11), librte-meter20.0 (>= 19.08), librte-net20.0 (>= 18.02), librte-pci20.0 (>= 19.11), librte-ring20.0 (>= 19.08), rdma-core Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-pmd-mlx5-20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 330256 MD5sum: adeb7f5fa538c38dd390f0f208c83f6a SHA1: f17d360057cce4b8438158716d91bfeec70ad2c0 SHA256: 8c2dd91f749c73c6d4edaf6dcf4c68816b8ad3be13ed155490f3e77acc8e5df4 SHA512: f10e0c0b22b8a9e6c3942b3302f886e298d6ccff53938655c4a3c63369c89780b71d977eae2d693a58b262b666980bc24ed44b4ab35070b880bf44fe1780f848 Homepage: https://dpdk.org/doc/guides/nics/mlx5.html Description-en: Data Plane Development Kit (librte-pmd-mlx5 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-mlx5.

Package: librte-pmd-mlx5-20.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: 1452 Depends: ibverbs-providers (>= 28), libbsd0 (>= 0.0), libc6 (>= 2.28), libibverbs1 (>= 28), libnuma1 (>= 2.0.11), librte-bus-pci20.0 (>= 19.11), librte-bus-vdev20.0 (>= 19.11), librte-eal20.0 (>= 19.11), librte-ethdev20.0 (>= 19.11), librte-hash20.0 (>= 18.11), librte-kvargs20.0 (>= 19.11), librte-mbuf20.0 (>= 19.08), librte-mempool20.0 (>= 19.11), librte-meter20.0 (>= 19.08), librte-net20.0 (>= 18.02), librte-pci20.0 (>= 19.11), librte-ring20.0 (>= 19.08), rdma-core Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-pmd-mlx5-20.0_19.11.1-0ubuntu1_amd64.deb Size: 326584 MD5sum: 5548b00b9f0fff3965f87890caf68b53 SHA1: a9fc3db7e9c19092f7e840156ada14b3ae9f83fe SHA256: 5e04c985eb256a6f06590d56600995adbf8f6af50fb541edac2e52c6d812f6e9 Homepage: https://dpdk.org/doc/guides/nics/mlx5.html Description-en: Data Plane Development Kit (librte-pmd-mlx5 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-mlx5.

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

sudo apt-get -y install librte-pmd-mlx5-20.0

Install librte-pmd-mlx5-20.0 Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install librte-pmd-mlx5-20.0 using apt by running the following command:

sudo apt -y install librte-pmd-mlx5-20.0

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

sudo aptitude -y install librte-pmd-mlx5-20.0

How To Uninstall librte-pmd-mlx5-20.0 on Ubuntu 20.04

To uninstall only the librte-pmd-mlx5-20.0 package we can use the following command:

sudo apt-get remove librte-pmd-mlx5-20.0

Uninstall librte-pmd-mlx5-20.0 And Its Dependencies

To uninstall librte-pmd-mlx5-20.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-mlx5-20.0

Remove librte-pmd-mlx5-20.0 Configurations and Data

To remove librte-pmd-mlx5-20.0 configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge librte-pmd-mlx5-20.0

Remove librte-pmd-mlx5-20.0 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge librte-pmd-mlx5-20.0

References

Summary

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