How To Install rdma-core on Rocky Linux 8

In this tutorial we learn how to install rdma-core on Rocky Linux 8. rdma-core is RDMA core userspace libraries and daemons

Introduction

In this tutorial we learn how to install rdma-core on Rocky Linux 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.

We can use yum or dnf to install rdma-core on Rocky Linux 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 Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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 Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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 Rocky Linux 8

To uninstall only the rdma-core package we can use the following command:

sudo dnf remove rdma-core

rdma-core Package Contents on Rocky Linux 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/76
/usr/lib/.build-id/76/e1c1fe9a54640726cb50a5c37b261b866ccf51
/usr/lib/.build-id/e1
/usr/lib/.build-id/e1/6e36af48157e8754f760fc8139fc985ec8f4a3
/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/7f
/usr/lib/.build-id/7f/d8bf0b1ffa82dcab50670191140dc05601aaba
/usr/lib/.build-id/e2
/usr/lib/.build-id/e2/0e475b5bc9507715c7b304e60b5ad811250f3d
/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

Summary

In this tutorial we learn how to install rdma-core on Rocky Linux 8 using yum and dnf.