How To Install ibverbs-providers on Kali Linux
Introduction
In this tutorial we learn how to install ibverbs-providers on Kali Linux.
What is ibverbs-providers
ibverbs-providers is:
libibverbs is a library that allows userspace processes to use RDMA “verbs” as described in the InfiniBand Architecture Specification and the RDMA Protocol Verbs Specification. iWARP ethernet NICs support RDMA over hardware-offloaded TCP/IP, while InfiniBand is a high-throughput, low-latency networking technology. InfiniBand host channel adapters (HCAs) and iWARP NICs commonly support direct hardware access from userspace (kernel bypass), and libibverbs supports this when available.
An RDMA driver consists of a kernel portion and a user space portion. This package contains the user space verbs drivers:
- bnxt_re: Broadcom NetXtreme-E RoCE HCAs
- cxgb4: Chelsio T4 iWARP HCAs
- efa: Amazon Elastic Fabric Adapter
- hfi1verbs: Intel Omni-Path HFI
- hns: HiSilicon Hip06 SoC
- i40iw: Intel Ethernet Connection X722 RDMA
- ipathverbs: QLogic InfiniPath HCAs
- mlx4: Mellanox ConnectX-3 InfiniBand HCAs
- mlx5: Mellanox Connect-IB/X-4+ InfiniBand HCAs
- mthca: Mellanox InfiniBand HCAs
- ocrdma: Emulex OneConnect RDMA/RoCE device
- qedr: QLogic QL4xxx RoCE HCAs
- rxe: A software implementation of the RoCE protocol
- siw: A software implementation of the iWarp protocol
- vmw_pvrdma: VMware paravirtual RDMA device
There are three methods to install ibverbs-providers on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install ibverbs-providers Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install ibverbs-providers using apt-get by running the following command:
sudo apt-get -y install ibverbs-providersInstall ibverbs-providers Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install ibverbs-providers using apt by running the following command:
sudo apt -y install ibverbs-providersInstall ibverbs-providers Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install ibverbs-providers using aptitude by running the following command:
sudo aptitude -y install ibverbs-providersHow To Uninstall ibverbs-providers on Kali Linux
To uninstall only the ibverbs-providers package we can use the following command:
sudo apt-get remove ibverbs-providersUninstall ibverbs-providers And Its Dependencies
To uninstall ibverbs-providers and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove ibverbs-providersRemove ibverbs-providers Configurations and Data
To remove ibverbs-providers configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge ibverbs-providersRemove ibverbs-providers configuration, data, and all of its dependencies
We can use the following command to remove ibverbs-providers configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge ibverbs-providersDependencies
ibverbs-providers have the following dependencies:
References
Summary
In this tutorial we learn how to install ibverbs-providers package on Kali Linux using different package management tools: apt, apt-get and aptitude.