How To Install librte-cmdline20.0 on Ubuntu 20.04

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

Introduction

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

What is librte-cmdline20.0

librte-cmdline20.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_cmdline.

Package: librte-cmdline20.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: 79 Depends: libbsd0 (>= 0.0), libc6 (>= 2.14), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 17.08), librte-kvargs20.0 (>= 18.08), librte-mbuf20.0 (>= 19.08), librte-mempool20.0 (>= 18.05), librte-net20.0 (>= 19.08), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/universe/d/dpdk/librte-cmdline20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 17628 MD5sum: 82bf5d3598079a70857348e202df8b93 SHA1: 7a08227491d7d42e99de2d0fb1cc048e0a31980b SHA256: 4b7fbe357e66b8f3c1aa61817d6c6decdf929bc1db856ae99f17b27f7753dd2d SHA512: 3fae28a22a5756902451a59b6c02697860a74492624c020d6e96f559fab3b886c935923ac35a7dc9cef531bc99ba473fc07e372834fa7fc4abbf9ace97118912 Homepage: https://dpdk.org/doc/api/cmdline_8h.html Description-en: Data Plane Development Kit (librte-cmdline 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_cmdline.

Package: librte-cmdline20.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: 78 Depends: libbsd0 (>= 0.0), libc6 (>= 2.14), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 17.08), librte-kvargs20.0 (>= 18.08), librte-mbuf20.0 (>= 19.08), librte-mempool20.0 (>= 18.05), librte-net20.0 (>= 19.08), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/universe/d/dpdk/librte-cmdline20.0_19.11.1-0ubuntu1_amd64.deb Size: 17604 MD5sum: eb2d4b6bbfc4bd3542ee2955a8b5a157 SHA1: fb193a23e9801ca8d2140928ee6276a026684de3 SHA256: c4312c916330fe5848dc1129d9870abd07510f0d12b2e1f63f71f69de450fdac Homepage: https://dpdk.org/doc/api/cmdline_8h.html Description-en: Data Plane Development Kit (librte-cmdline 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_cmdline.

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

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

Install librte-cmdline20.0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librte-cmdline20.0

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

sudo aptitude -y install librte-cmdline20.0

How To Uninstall librte-cmdline20.0 on Ubuntu 20.04

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

sudo apt-get remove librte-cmdline20.0

Uninstall librte-cmdline20.0 And Its Dependencies

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

Remove librte-cmdline20.0 Configurations and Data

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

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

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

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

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

References

Summary

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