How To Install librte-vhost20.0 on Ubuntu 20.04

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

Introduction

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

What is librte-vhost20.0

librte-vhost20.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_vhost.

Package: librte-vhost20.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: 727 Depends: libbsd0 (>= 0.0), libc6 (>= 2.28), libnuma1 (>= 2.0.11), librte-cryptodev20.0 (>= 19.11), librte-eal20.0 (>= 19.11), librte-ethdev20.0 (>= 17.11), librte-hash20.0 (>= 19.11), librte-kvargs20.0 (>= 18.08), librte-mbuf20.0 (>= 19.11), librte-mempool20.0 (>= 19.11), librte-meter20.0 (>= 19.08), librte-net20.0 (>= 18.02), librte-pci20.0 (>= 19.11), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-vhost20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 131952 MD5sum: 77d7183888aa2b644dcaae5ba2ce5b0d SHA1: 0bcfea566ecd392483254579288cb584f7a23dbf SHA256: db153576b75d7cc336ac9373f820daf89c2d7a9081d88bedd03c1ff0f6cf10f3 SHA512: d07c5241cea263da0e674a5f08bac4b741f89682836cb46c065741950b8a2c32175a90f97a8c669af966de12ca0f60f84969e979732b35cb1a500ac9bf3e9a26 Homepage: https://dpdk.org/doc/api/rte__vhost_8h.html Description-en: Data Plane Development Kit (librte_vhost 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_vhost.

Package: librte-vhost20.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: 450 Depends: libbsd0 (>= 0.0), libc6 (>= 2.28), libnuma1 (>= 2.0.11), librte-cryptodev20.0 (>= 19.11), librte-eal20.0 (>= 19.11), librte-ethdev20.0 (>= 17.11), librte-hash20.0 (>= 19.11), librte-kvargs20.0 (>= 18.08), librte-mbuf20.0 (>= 19.11), librte-mempool20.0 (>= 19.11), librte-meter20.0 (>= 19.08), librte-net20.0 (>= 18.02), librte-pci20.0 (>= 19.11), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-vhost20.0_19.11.1-0ubuntu1_amd64.deb Size: 99156 MD5sum: 3ec7e3469fab3236c8e176033fdf5b75 SHA1: 66a2c7411dddf1e8e3455de1f9c8d4f796a66845 SHA256: 7d351603cab6c7173765369399bc66613f8ea1e24f9a5649a1f6e57e6f02b953 Homepage: https://dpdk.org/doc/api/rte__vhost_8h.html Description-en: Data Plane Development Kit (librte_vhost 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_vhost.

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

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

Install librte-vhost20.0 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librte-vhost20.0

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

sudo aptitude -y install librte-vhost20.0

How To Uninstall librte-vhost20.0 on Ubuntu 20.04

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

sudo apt-get remove librte-vhost20.0

Uninstall librte-vhost20.0 And Its Dependencies

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

Remove librte-vhost20.0 Configurations and Data

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

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

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

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

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

References

Summary

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