How To Install librte-pci20.0 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install librte-pci20.0 on Ubuntu 20.04.
What is librte-pci20.0
librte-pci20.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_pci.
Package: librte-pci20.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: 53 Depends: libbsd0 (>= 0.0), libc6 (>= 2.4), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 19.11), librte-kvargs20.0 (>= 18.08) Filename: pool/main/d/dpdk/librte-pci20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 6176 MD5sum: 413bd0653d9ef4dca45c1570a4504c56 SHA1: 84c38a3494b00bf9df96f4de4466ae2a4cf69148 SHA256: 83069dc636758c8223f34199065f67af110a2353bdade604bcb2a7fb4a3abe1a SHA512: 114972b4af6deb05b609e2eb9713923bf051c0059203e85bc432917202593f5d4a267ee7a79ccadd080680f9e7f2bebc100f685dd9bb6af70a834e2b665d05b8 Homepage: https://dpdk.org/doc/api/rte__pci_8h.html Description-en: Data Plane Development Kit (librte_pci 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_pci.
Package: librte-pci20.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: 52 Depends: libbsd0 (>= 0.0), libc6 (>= 2.4), libnuma1 (>= 2.0.11), librte-eal20.0 (>= 19.11), librte-kvargs20.0 (>= 18.08) Filename: pool/main/d/dpdk/librte-pci20.0_19.11.1-0ubuntu1_amd64.deb Size: 6104 MD5sum: e0836fb9c82295c3d627cda6358946c7 SHA1: a01e62e1e0bbb6ce92f0be12ba2089aa000e069a SHA256: 70cedac05d6d2e48f3ce945d1ae25ae584d91b86134f20899192111db5e62359 Homepage: https://dpdk.org/doc/api/rte__pci_8h.html Description-en: Data Plane Development Kit (librte_pci 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_pci.
There are three methods to install librte-pci20.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-pci20.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-pci20.0 using apt-get by running the following command:
sudo apt-get -y install librte-pci20.0
Install librte-pci20.0 Using apt
Update apt database with apt using the following command.
sudo apt update
After updating apt database, We can install librte-pci20.0 using apt by running the following command:
sudo apt -y install librte-pci20.0
Install librte-pci20.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-pci20.0 using aptitude by running the following command:
sudo aptitude -y install librte-pci20.0
How To Uninstall librte-pci20.0 on Ubuntu 20.04
To uninstall only the librte-pci20.0 package we can use the following command:
sudo apt-get remove librte-pci20.0
Uninstall librte-pci20.0 And Its Dependencies
To uninstall librte-pci20.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-pci20.0
Remove librte-pci20.0 Configurations and Data
To remove librte-pci20.0 configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge librte-pci20.0
Remove librte-pci20.0 configuration, data, and all of its dependencies
We can use the following command to remove librte-pci20.0 configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge librte-pci20.0
References
Summary
In this tutorial we learn how to install librte-pci20.0 package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.