How To Install librte-bpf0.200 on Ubuntu 20.04

In this tutorial we learn how to install librte-bpf0.200 on Ubuntu 20.04. librte-bpf0.200 is Data Plane Development Kit (librte-bpf runtime library) Data Plane Development Kit (librte-bpf runtime library) Data Plane Development Kit (librte-bpf runtime library)

Introduction

In this tutorial we learn how to install librte-bpf0.200 on Ubuntu 20.04.

What is librte-bpf0.200

librte-bpf0.200 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_bpf.

The DPDK provides an BPF library that gives the ability to load and execute Enhanced Berkeley Packet Filter (eBPF) bytecode within user-space dpdk application. FYI: This library still is highly experimental.

Package: librte-bpf0.200 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: 105 Depends: libbsd0 (>= 0.0), libc6 (>= 2.14), libelf1 (>= 0.131), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 19.11), librte-ethdev20.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 (>= 18.02), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/universe/d/dpdk/librte-bpf0.200_19.11.3-0ubuntu0.2_amd64.deb Size: 24436 MD5sum: 4e1582ddcec765b7ddac155acd8e4f88 SHA1: 526e8c2fbcd32945c3ed5ec0e96761eaa8581439 SHA256: 6b21123bef816943bfadabf37b73ad25f07a52e3250729d40bfe3e2378a55ead SHA512: 2eaacf8072ed183d378991da57eed3b0a5c62752416c0ac7281a88e46effe1c892005f9de751ecfdbaa31fde7abfda1c480501fe49ef78fd69914cf3c3d8ae23 Homepage: https://dpdk.org/doc/guides/prog_guide/bpf_lib.html Description-en: Data Plane Development Kit (librte-bpf 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_bpf.

The DPDK provides an BPF library that gives the ability to load and execute Enhanced Berkeley Packet Filter (eBPF) bytecode within user-space dpdk application. FYI: This library still is highly experimental.

Package: librte-bpf0.200 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: 104 Depends: libbsd0 (>= 0.0), libc6 (>= 2.14), libelf1 (>= 0.131), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 19.11), librte-ethdev20.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 (>= 18.02), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/universe/d/dpdk/librte-bpf0.200_19.11.1-0ubuntu1_amd64.deb Size: 24448 MD5sum: 901e2996469305eb194a786201e79b0e SHA1: 6b55d4df68735bf20938638879ba28c00a2d3788 SHA256: 983748ea340021ad5ba8fd5c16b4290a71cff35d76e961ab507e71375ae637c4 Homepage: https://dpdk.org/doc/guides/prog_guide/bpf_lib.html Description-en: Data Plane Development Kit (librte-bpf 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_bpf.

The DPDK provides an BPF library that gives the ability to load and execute Enhanced Berkeley Packet Filter (eBPF) bytecode within user-space dpdk application. FYI: This library still is highly experimental.

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

sudo apt-get -y install librte-bpf0.200

Install librte-bpf0.200 Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install librte-bpf0.200

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

sudo aptitude -y install librte-bpf0.200

How To Uninstall librte-bpf0.200 on Ubuntu 20.04

To uninstall only the librte-bpf0.200 package we can use the following command:

sudo apt-get remove librte-bpf0.200

Uninstall librte-bpf0.200 And Its Dependencies

To uninstall librte-bpf0.200 and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove librte-bpf0.200

Remove librte-bpf0.200 Configurations and Data

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

sudo apt-get -y purge librte-bpf0.200

Remove librte-bpf0.200 configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge librte-bpf0.200

References

Summary

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