How To Install librte-net20.0 on Ubuntu 20.04

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

Introduction

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

What is librte-net20.0

librte-net20.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_net.

The librte_net library is a collection of IP protocol definitions and convenience macros. It is based on code from the FreeBSD* IP stack and contains protocol numbers (for use in IP headers), IP-related macros, IPv4/IPv6 header structures and TCP, UDP and SCTP header structures.

Package: librte-net20.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: 61 Depends: libbsd0 (>= 0.0), libc6 (>= 2.4), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 19.11), librte-kvargs20.0 (>= 18.08), librte-mbuf20.0 (>= 19.11), librte-mempool20.0 (>= 19.11), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-net20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 8988 MD5sum: 960e8469b540f146fc49ef3173c6cce0 SHA1: ddf55b811640c106a77752b7a17795389413307c SHA256: 8d6985dcd1723d1f3679e34d828727ff3a5ffe3f1eaa58cdb93238329a19bb81 SHA512: 385826c9336e5eeffa7b816ef8e748caa9c5c408def6aa023f81d61170df33ab81d4560ff94cff2ff8408163177ea9cc21946ec6b873a5f65a5b5f113d815142 Homepage: https://dpdk.org/doc/guides/prog_guide/overview.html?highlight=librte_net#librte-net Description-en: Data Plane Development Kit (librte-net 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_net.

The librte_net library is a collection of IP protocol definitions and convenience macros. It is based on code from the FreeBSD* IP stack and contains protocol numbers (for use in IP headers), IP-related macros, IPv4/IPv6 header structures and TCP, UDP and SCTP header structures.

Package: librte-net20.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: 60 Depends: libbsd0 (>= 0.0), libc6 (>= 2.4), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 19.11), librte-kvargs20.0 (>= 18.08), librte-mbuf20.0 (>= 19.11), librte-mempool20.0 (>= 19.11), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-net20.0_19.11.1-0ubuntu1_amd64.deb Size: 8964 MD5sum: a8d4c118bc9f065e455e5f96599cbc9a SHA1: 80a688b7033e2e061dca26bdc58d2abe549255b7 SHA256: a0fcead72e6f0e23fe75b69331a9d9ae5d0f23a2558e3d4af4a7853dfd4810b7 Homepage: https://dpdk.org/doc/guides/prog_guide/overview.html?highlight=librte_net#librte-net Description-en: Data Plane Development Kit (librte-net 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_net.

The librte_net library is a collection of IP protocol definitions and convenience macros. It is based on code from the FreeBSD* IP stack and contains protocol numbers (for use in IP headers), IP-related macros, IPv4/IPv6 header structures and TCP, UDP and SCTP header structures.

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

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

Install librte-net20.0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librte-net20.0

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

sudo aptitude -y install librte-net20.0

How To Uninstall librte-net20.0 on Ubuntu 20.04

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

sudo apt-get remove librte-net20.0

Uninstall librte-net20.0 And Its Dependencies

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

Remove librte-net20.0 Configurations and Data

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

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

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

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

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

References

Summary

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