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

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

Introduction

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

What is librte-pmd-hns3-20.0

librte-pmd-hns3-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_hns3 which is The hns3 PMD (librte_pmd_hns3) provides poll mode driver support for the inbuilt Hisilicon Network Subsystem(HNS) network engine found in the Hisilicon Kunpeng 920 SoC

Package: librte-pmd-hns3-20.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: 256 Depends: libbsd0 (>= 0.0), libc6 (>= 2.14), 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 (>= 19.11), librte-kvargs20.0 (>= 18.08), librte-mbuf20.0 (>= 19.08), librte-mempool20.0 (>= 19.11), librte-meter20.0 (>= 19.08), librte-net20.0 (>= 19.11), librte-pci20.0 (>= 19.11), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/universe/d/dpdk/librte-pmd-hns3-20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 86452 MD5sum: 500447f23f11b29cd9fb8b8de5e0a040 SHA1: 0361b2467f010d397ef238b5c34305183e267299 SHA256: 1c25421d15611b3523f0138292047221a710bb8914d64c473309c6d505a13b6c SHA512: 5cf257b751809df89f9f719c54ab2263449ab6e9b19b97980d87d705befd72d88c5370c6ff1ea468a1a91cb24e06e46458aaacc3e1a65b313e51e94cefa887ff Homepage: http://doc.dpdk.org/guides/nics/hns3.html Description-en: Data Plane Development Kit (librte-pmd-hns3 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_hns3 which is The hns3 PMD (librte_pmd_hns3) provides poll mode driver support for the inbuilt Hisilicon Network Subsystem(HNS) network engine found in the Hisilicon Kunpeng 920 SoC

Package: librte-pmd-hns3-20.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: 243 Depends: libbsd0 (>= 0.0), libc6 (>= 2.14), 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 (>= 19.11), librte-kvargs20.0 (>= 18.08), librte-mbuf20.0 (>= 19.08), librte-mempool20.0 (>= 19.11), librte-meter20.0 (>= 19.08), librte-net20.0 (>= 19.11), librte-pci20.0 (>= 19.11), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/universe/d/dpdk/librte-pmd-hns3-20.0_19.11.1-0ubuntu1_amd64.deb Size: 81484 MD5sum: 509f887e4be9fc8ea34362af3abeb3fa SHA1: 2d52050c3462667bbde1b0e352048b29ccdf6256 SHA256: ef3cde9ad4ff1b8f3e3312b0eb12bb7272860bc5b4f3e5d8031e4b6b43d0dcd3 Homepage: http://doc.dpdk.org/guides/nics/hns3.html Description-en: Data Plane Development Kit (librte-pmd-hns3 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_hns3 which is The hns3 PMD (librte_pmd_hns3) provides poll mode driver support for the inbuilt Hisilicon Network Subsystem(HNS) network engine found in the Hisilicon Kunpeng 920 SoC

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

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

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

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

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

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

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

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

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

Uninstall librte-pmd-hns3-20.0 And Its Dependencies

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

Remove librte-pmd-hns3-20.0 Configurations and Data

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

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

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

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

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

References

Summary

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