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

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

Introduction

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

What is librte-pmd-mlx4-20.0

librte-pmd-mlx4-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-mlx4.

Package: librte-pmd-mlx4-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: 161 Depends: ibverbs-providers (>= 16~), 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-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-mlx4-20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 46560 MD5sum: 67dde65d65c701f5764ee8ef33e799b9 SHA1: c07bfd4c5e357e619902e306855e92caa08113ed SHA256: 7838d6a22478f0cf60dcce9277308cd468aa2361242ccdf5b5fe397b4b439095 SHA512: 7557995ce46cce0fd8c12be19e9b369ae0905f7799b79ba2e8386a6501a846e7f0f05782f29b6e88ea54077180c8781a51128eb55e0fe3e546eb2011dc4ebfe8 Homepage: https://dpdk.org/doc/guides/nics/mlx4.html Description-en: Data Plane Development Kit (librte-pmd-mlx4 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-mlx4.

Package: librte-pmd-mlx4-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: 160 Depends: ibverbs-providers (>= 16~), 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-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-mlx4-20.0_19.11.1-0ubuntu1_amd64.deb Size: 46552 MD5sum: 91b74c759231078bc2f3347dacc7fe8a SHA1: 226aa56231f96c58ad134c2ce66a1594afcba1f2 SHA256: 161ff5c3c0292ee4bb3b484ad0658046fc6f72f2a099724d31a757568891cf15 Homepage: https://dpdk.org/doc/guides/nics/mlx4.html Description-en: Data Plane Development Kit (librte-pmd-mlx4 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-mlx4.

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

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

Install librte-pmd-mlx4-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-mlx4-20.0 using apt by running the following command:

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

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

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

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

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

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

Uninstall librte-pmd-mlx4-20.0 And Its Dependencies

To uninstall librte-pmd-mlx4-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-mlx4-20.0

Remove librte-pmd-mlx4-20.0 Configurations and Data

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

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

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

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

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

References

Summary

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