How To Install librte-metrics20.0 on Ubuntu 20.04

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

Introduction

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

What is librte-metrics20.0

librte-metrics20.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_metrics.

Package: librte-metrics20.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: 53 Depends: libbsd0 (>= 0.0), libc6 (>= 2.4), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 19.11), librte-kvargs20.0 (>= 18.08) Conflicts: libdpdk0 Filename: pool/universe/d/dpdk/librte-metrics20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 6364 MD5sum: c87c55e22098d60b750721d9232811ab SHA1: 399484ef98920bfd16e32725aa865652cca6a0c2 SHA256: 4593bc7d8de8aaa3d269322e7f1ad1930f1a4e7295c6f14a82e188b3eac8687d SHA512: ba68b45b3f8e2c81e2b96c40c39dd8149664520a2eb879ce0886390f817c174766857a57c96e96d48e076729acdb0c0ca8260eafd2c3b19861ce6cb31d0d6152 Homepage: https://www.dpdk.org Description-en: Data Plane Development Kit (librte_metrics 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_metrics.

Package: librte-metrics20.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: 52 Depends: libbsd0 (>= 0.0), libc6 (>= 2.4), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 19.11), librte-kvargs20.0 (>= 18.08) Conflicts: libdpdk0 Filename: pool/universe/d/dpdk/librte-metrics20.0_19.11.1-0ubuntu1_amd64.deb Size: 6372 MD5sum: a43f536490e9b1c267d095faf0045f69 SHA1: 39442fe249ab024773ccbbd791a806c1962c72bd SHA256: 90929c215808f21db11e19b7c9f1f715fefbe3f9d54eb72b5fecd790d1613e4a Homepage: https://www.dpdk.org Description-en: Data Plane Development Kit (librte_metrics 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_metrics.

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

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

Install librte-metrics20.0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librte-metrics20.0

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

sudo aptitude -y install librte-metrics20.0

How To Uninstall librte-metrics20.0 on Ubuntu 20.04

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

sudo apt-get remove librte-metrics20.0

Uninstall librte-metrics20.0 And Its Dependencies

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

Remove librte-metrics20.0 Configurations and Data

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

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

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

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

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

References

Summary

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