How To Install rdma-core on CentOS 8
Introduction
In this tutorial we learn how to install rdma-core
on CentOS 8.
What is rdma-core
RDMA core userspace infrastructure and documentation, including kernel driver-specific modprobe override configs, IPoIB network scripts, dracut rules, and the rdma-ndd utility. rdma-core 32.0 4.el8 x86_64 59 k rdma-core-32.0-4.el8.src.rpm baseos RDMA core userspace libraries and daemons https GPLv2 or BSD RDMA core userspace infrastructure and documentation, including kernel driver-specific modprobe override configs, IPoIB network scripts, dracut rules, and the rdma-ndd utility.
We can use yum
or dnf
to install rdma-core
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install rdma-core.
Install rdma-core on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install rdma-core
using dnf
by running the following command:
sudo dnf -y install rdma-core
Install rdma-core on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install rdma-core
using yum
by running the following command:
sudo yum -y install rdma-core
How To Uninstall rdma-core on CentOS 8
To uninstall only the rdma-core
package we can use the following command:
sudo dnf remove rdma-core
rdma-core Package Contents on CentOS 8
/etc/modprobe.d
/etc/modprobe.d/mlx4.conf
/etc/modprobe.d/truescale.conf
/etc/rdma
/etc/rdma/mlx4.conf
/etc/rdma/modules/infiniband.conf
/etc/rdma/modules/iwarp.conf
/etc/rdma/modules/opa.conf
/etc/rdma/modules/rdma.conf
/etc/rdma/modules/roce.conf
/etc/udev/rules.d/70-persistent-ipoib.rules
/usr/bin/ibdev2netdev
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/c714b398fa5f0fa561ad746eaad7941f9b4b65
/usr/lib/.build-id/af
/usr/lib/.build-id/af/e6061b437434c527879733b49fd5986f71a24b
/usr/lib/dracut
/usr/lib/dracut/modules.d
/usr/lib/dracut/modules.d/05rdma
/usr/lib/dracut/modules.d/05rdma/module-setup.sh
/usr/lib/modprobe.d
/usr/lib/modprobe.d/libmlx4.conf
/usr/lib/systemd/system/rdma-hw.target
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/rdma-ndd.service
/usr/lib/udev/rdma_rename
/usr/lib/udev/rules.d
/usr/lib/udev/rules.d/60-rdma-ndd.rules
/usr/lib/udev/rules.d/60-rdma-persistent-naming.rules
/usr/lib/udev/rules.d/75-rdma-description.rules
/usr/lib/udev/rules.d/90-rdma-hw-modules.rules
/usr/lib/udev/rules.d/90-rdma-ulp-modules.rules
/usr/lib/udev/rules.d/90-rdma-umad.rules
/usr/libexec/mlx4-setup.sh
/usr/libexec/truescale-serdes.cmds
/usr/sbin/rdma-ndd
/usr/share/doc/rdma-core
/usr/share/doc/rdma-core/README.md
/usr/share/doc/rdma-core/udev.md
/usr/share/licenses/rdma-core
/usr/share/licenses/rdma-core/COPYING.BSD_FB
/usr/share/licenses/rdma-core/COPYING.BSD_MIT
/usr/share/licenses/rdma-core/COPYING.GPL2
/usr/share/licenses/rdma-core/COPYING.md
/usr/share/man/man7/rxe.7.gz
/usr/share/man/man8/rdma-ndd.8.gz
/etc/modprobe.d
/etc/modprobe.d/mlx4.conf
/etc/modprobe.d/truescale.conf
/etc/rdma
/etc/rdma/mlx4.conf
/etc/rdma/modules/infiniband.conf
/etc/rdma/modules/iwarp.conf
/etc/rdma/modules/opa.conf
/etc/rdma/modules/rdma.conf
/etc/rdma/modules/roce.conf
/etc/udev/rules.d/70-persistent-ipoib.rules
/usr/bin/ibdev2netdev
/usr/lib/.build-id
/usr/lib/.build-id/cf
/usr/lib/.build-id/cf/a1cd6898f0c123ac04974859a966d62d3ccb49
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/9fb64ea7c41a9d402190ed84e46db916442b01
/usr/lib/dracut
/usr/lib/dracut/modules.d
/usr/lib/dracut/modules.d/05rdma
/usr/lib/dracut/modules.d/05rdma/module-setup.sh
/usr/lib/modprobe.d
/usr/lib/modprobe.d/libmlx4.conf
/usr/lib/systemd/system/rdma-hw.target
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/rdma-ndd.service
/usr/lib/udev/rdma_rename
/usr/lib/udev/rules.d
/usr/lib/udev/rules.d/60-rdma-ndd.rules
/usr/lib/udev/rules.d/60-rdma-persistent-naming.rules
/usr/lib/udev/rules.d/75-rdma-description.rules
/usr/lib/udev/rules.d/90-rdma-hw-modules.rules
/usr/lib/udev/rules.d/90-rdma-ulp-modules.rules
/usr/lib/udev/rules.d/90-rdma-umad.rules
/usr/libexec/mlx4-setup.sh
/usr/libexec/truescale-serdes.cmds
/usr/sbin/rdma-ndd
/usr/share/doc/rdma-core
/usr/share/doc/rdma-core/README.md
/usr/share/doc/rdma-core/udev.md
/usr/share/licenses/rdma-core
/usr/share/licenses/rdma-core/COPYING.BSD_FB
/usr/share/licenses/rdma-core/COPYING.BSD_MIT
/usr/share/licenses/rdma-core/COPYING.GPL2
/usr/share/licenses/rdma-core/COPYING.md
/usr/share/man/man7/rxe.7.gz
/usr/share/man/man8/rdma-ndd.8.gz
References
- [rdma-core website](https://github.com/linux-rdma/rdma-core https://github.com/linux-rdma/rdma-core)
Summary
In this tutorial we learn how to install rdma-core
on CentOS 8 using yum and dnf.