How To Install librte-lpm20.0 on Ubuntu 20.04

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

Introduction

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

What is librte-lpm20.0

librte-lpm20.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_lpm.

Package: librte-lpm20.0 Architecture: amd64 Version: 19.11.3-0ubuntu0.2 Multi-Arch: same Priority: optional Section: universe/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: 65 Depends: libbsd0 (>= 0.0), libc6 (>= 2.4), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 19.11), librte-hash20.0 (>= 19.11), librte-kvargs20.0 (>= 18.08), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/universe/d/dpdk/librte-lpm20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 12952 MD5sum: fa75e10bc05c010ec08338cc44aeed96 SHA1: 6929332adcf3ba689bffc163fb19b7747105e0b3 SHA256: c2d27d0d7c1a48d6869848aae22610a1d02d67a2d3c0133383d2b8efb03e0b95 SHA512: 61178f8a400a92acd4e4f39b5ab8150ec01985ff9cc95738a8a2dd3295d247f2aaca92d52ed72d53006188e31dcf4866e235a5efae4acec6a83cd145ac0b8cee Homepage: https://dpdk.org/doc/api/rte__lpm_8h.html Description-en: Data Plane Development Kit (librte-lpm 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_lpm.

Package: librte-lpm20.0 Architecture: amd64 Version: 19.11.1-0ubuntu1 Multi-Arch: same Priority: optional Section: universe/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: 64 Depends: libbsd0 (>= 0.0), libc6 (>= 2.4), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 19.11), librte-hash20.0 (>= 19.11), librte-kvargs20.0 (>= 18.08), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/universe/d/dpdk/librte-lpm20.0_19.11.1-0ubuntu1_amd64.deb Size: 12872 MD5sum: 5923e6f8447c43d411565db3ee017523 SHA1: c9b6e1d1f9fa3f8bc1532ea8f349a93464f2797d SHA256: af893ce22e131d85f16251024dc5b1580040e0e6b47761eb28e70dedcbb12e46 Homepage: https://dpdk.org/doc/api/rte__lpm_8h.html Description-en: Data Plane Development Kit (librte-lpm 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_lpm.

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

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

Install librte-lpm20.0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librte-lpm20.0

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

sudo aptitude -y install librte-lpm20.0

How To Uninstall librte-lpm20.0 on Ubuntu 20.04

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

sudo apt-get remove librte-lpm20.0

Uninstall librte-lpm20.0 And Its Dependencies

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

Remove librte-lpm20.0 Configurations and Data

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

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

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

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

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

References

Summary

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