How To Install rshim on AlmaLinux 8

In this tutorial we learn how to install rshim in AlmaLinux 8. rshim is User-space driver for Mellanox BlueField SoC

Introduction

In this tutorial we learn how to install rshim on AlmaLinux 8.

What is rshim

This is the user-space driver to access the BlueField SoC via the rshim interface. It provides ways to push boot stream, debug the target or login via the virtual console or network interface.

We can use yum or dnf to install rshim on AlmaLinux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rshim.

Install rshim on AlmaLinux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rshim using dnf by running the following command:

sudo dnf -y install rshim

Install rshim on AlmaLinux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rshim using yum by running the following command:

sudo yum -y install rshim

How To Uninstall rshim on AlmaLinux 8

To uninstall only the rshim package we can use the following command:

sudo dnf remove rshim

References

Summary

In this tutorial we learn how to install rshim on AlmaLinux 8 using yum and dnf.