How to Install and Uninstall rdma-core Ubuntu 22.04

Updated: September 21, 2022

This package provides the basic boot time support for systems that use the Linux kernel’s remote direct memory access (RDMA) subystem which includes InfiniBand, iWARP, and RDMA over Converged Ethernet (RoCE). In this tutorial, I will show you ways to install rdma-core Ubuntu 22.04.

Prerequisites to install

  • OS: Ubuntu 22.04 is needed for rdma-core to work
  • Privileges: Verify that you can execute the sudo commands line.

Prerequisites to install rdma-core on Ubuntu 22.04

Install rdma-core Ubuntu 22.04

rdma-core is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one that you think is easy and you can follow.

Install rdma-core using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these instructions to install rdma-core on your Ubuntu.

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Update the APT database to fetch new packages from Ubuntu. Launch the terminal and enter the following Linux command:

sudo apt-get -y update

Step 2: Start installing the packages on Ubuntu 22.04. You can now install rdma-core Ubuntu by executing this command in the terminal.

sudo apt -y install rdma-core

Install rdma-core using Aptitude

Users can manage their installation, upgrade, and removal of packages with Aptitude and view a list of the packages that are currently available. If you haven’t already installed it on Ubuntu, run this command to do so.

sudo apt-get -y install aptitude

Then, you can now install rdma-core by following these steps:

Step 1: You must update the APT package repository cache before attempting to install, update, or remove any packages. Obtain new packages from Ubuntu by updating the APT database. Launching the terminal and entering the following Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. After updating, you can install rdma-core Ubuntu by pasting this command into the terminal and pressing Enter.

sudo aptitude -y install rdma-core

Uninstall rdma-core on Ubuntu 22.04

Have you ever considered how difficult it is to uninstall an application from Ubuntu? You are mistaken; anyone, not just package administrators, can easily uninstall any program.

You can uninstall rdma-core on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove rdma-core

If you want to uninstall rdma-core and delete its data and dependencies, you can also run the following command:

sudo apt autoremove --purge rdma-core

Conclusion

In this tutorial, I showed you ways to install rdma-core on Ubuntu 22.04 and some ways to uninstall rdma-core too. If you need any help, don’t hesitate to contact me. I’m very glad to answer them.