How To Install librte-kni20.0 on Ubuntu 20.04
Introduction
In this tutorial we learn how to install librte-kni20.0
on Ubuntu 20.04.
What is librte-kni20.0
librte-kni20.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_kni.
Package: librte-kni20.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: 69 Depends: libbsd0 (>= 0.0), libc6 (>= 2.4), 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-pci20.0 (>= 19.11), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-kni20.0_19.11.3-0ubuntu0.2_amd64.deb Size: 11100 MD5sum: 45c0209f933a85e3f2568e9123ae676f SHA1: aec85021c24aa3a4236020017d282fe7e33c2576 SHA256: 1cf3a371602b133d6c6047b1b960a5c0dd1e73e3d5b85076125f22a65581b6c0 SHA512: 2985ced52042b7fd05b6574e89b2bbdb515f8ec1fe612bd23cf8d09ea189ec2d08e41f8bf44c115f455d078e01198d84603ec48bca7021b9b83541ea865d7408 Homepage: https://dpdk.org/doc/api/rte__kni_8h.html Description-en: Data Plane Development Kit (librte-kni 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_kni.
Package: librte-kni20.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: 68 Depends: libbsd0 (>= 0.0), libc6 (>= 2.4), 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-pci20.0 (>= 19.11), librte-ring20.0 (>= 19.08) Conflicts: libdpdk0 Filename: pool/main/d/dpdk/librte-kni20.0_19.11.1-0ubuntu1_amd64.deb Size: 11104 MD5sum: 4c3dc2b444bf8a546c9606236649525f SHA1: 232a65f27b5550bd862f809e8e3d9514810c5e06 SHA256: e16e9c69fcf4441a75342f3c251980368250e0b1ecf4f4fe58e3ce7ede78b03a Homepage: https://dpdk.org/doc/api/rte__kni_8h.html Description-en: Data Plane Development Kit (librte-kni 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_kni.
There are three methods to install librte-kni20.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-kni20.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-kni20.0
using apt-get
by running the following command:
sudo apt-get -y install librte-kni20.0
Install librte-kni20.0 Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install librte-kni20.0
using apt
by running the following command:
sudo apt -y install librte-kni20.0
Install librte-kni20.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-kni20.0
using aptitude
by running the following command:
sudo aptitude -y install librte-kni20.0
How To Uninstall librte-kni20.0 on Ubuntu 20.04
To uninstall only the librte-kni20.0
package we can use the following command:
sudo apt-get remove librte-kni20.0
Uninstall librte-kni20.0 And Its Dependencies
To uninstall librte-kni20.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-kni20.0
Remove librte-kni20.0 Configurations and Data
To remove librte-kni20.0
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge librte-kni20.0
Remove librte-kni20.0 configuration, data, and all of its dependencies
We can use the following command to remove librte-kni20.0
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge librte-kni20.0
References
Summary
In this tutorial we learn how to install librte-kni20.0
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.