How To Install rshim on Rocky Linux 8

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

Introduction

In this tutorial we learn how to install rshim on Rocky Linux 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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install rshim.

Install rshim 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 rshim using dnf by running the following command:

sudo dnf -y install rshim

Install rshim 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 rshim using yum by running the following command:

sudo yum -y install rshim

How To Uninstall rshim on Rocky Linux 8

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

sudo dnf remove rshim

rshim Package Contents on Rocky Linux 8

/usr/lib/.build-id
/usr/lib/.build-id/f6
/usr/lib/.build-id/f6/910514bd3612ec10bea7b23037a4c74a7a975c
/usr/lib/systemd/system/rshim.service
/usr/sbin/rshim
/usr/share/doc/rshim
/usr/share/doc/rshim/README.md
/usr/share/licenses/rshim
/usr/share/licenses/rshim/LICENSE
/usr/share/man/man8/rshim.8.gz

References

Summary

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