How To Install librte-hash20.0 on Ubuntu 20.04

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

Introduction

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

What is librte-hash20.0

librte-hash20.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_hash.

Package: librte-hash20.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: 98 Depends: libbsd0 (>= 0.0), libc6 (>= 2.14), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 19.11), librte-kvargs20.0 (>= 18.08), librte-ring20.0 (>= 19.11) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-hash20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 27704 MD5sum: 43ba60fcc21c0515e895a91e9871ce65 SHA1: 1101fdc4d9a0ef88410fda90026caf8eba119b1d SHA256: 9bc3ab6d03fe2c9cea88a33c8e5dafce0a59b5dd7fda54d303b3a428b821de3a SHA512: deabb1bf7aaab8ca03fcd3a62bf546c4cf0a955580a0da2cbaabc01810949315b6787739593062facf837ae765aacebfea59a1277603c994b06d784dea507927 Homepage: https://dpdk.org/doc/api/rte__hash_8h.html Description-en: Data Plane Development Kit (librte-hash 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_hash.

Package: librte-hash20.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: 97 Depends: libbsd0 (>= 0.0), libc6 (>= 2.14), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 19.11), librte-kvargs20.0 (>= 18.08), librte-ring20.0 (>= 19.11) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-hash20.0_19.11.1-0ubuntu1_amd64.deb Size: 27696 MD5sum: d411a3026c23ef56925865bf9d92ae8a SHA1: e004eb624a6171a851f8a9ad1bdf7b4e41584725 SHA256: b2188f15ba282fbbe7aaf3a11fa795540a4931ce77802a23b337fac8860e4278 Homepage: https://dpdk.org/doc/api/rte__hash_8h.html Description-en: Data Plane Development Kit (librte-hash 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_hash.

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

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

Install librte-hash20.0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librte-hash20.0

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

sudo aptitude -y install librte-hash20.0

How To Uninstall librte-hash20.0 on Ubuntu 20.04

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

sudo apt-get remove librte-hash20.0

Uninstall librte-hash20.0 And Its Dependencies

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

Remove librte-hash20.0 Configurations and Data

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

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

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

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

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

References

Summary

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