Ways to Install or Uninstall rasdaemon Ubuntu 22.04

Updated: September 7, 2022

rasdaemon is a RAS (Reliability, Availability and Serviceability) logging tool. It currently records memory errors, using the EDAC tracing events. EDAC are drivers in the Linux kernel that handle detection of ECC errors from memory controllers for most chipsets on x86 and ARM architectures. This userspace component consists of an init script which makes sure EDAC drivers and DIMM labels are loaded at system startup, as well as a utility for reporting current error counts from the EDAC sysfs files. In this guide, I will show you how to install rasdaemon on Ubuntu 22.04.

Prerequisites

  • OS: Ubuntu 22.04 or older versions with more than 2GB RAM
  • Privileges: Make sure that you can run the sudo commands line.

Prerequisites to install rasdaemon on Ubuntu 22.04

Install rasdaemon Ubuntu 22.04

rasdaemon 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 rasdaemon using APT

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

Step 1: Update the APT database to fetch new packages from Ubuntu. Opening the terminal and executing the following Linux command:

sudo apt-get -y update

Step 2: Start the package installation on Ubuntu 22.04. You can now install rasdaemon Ubuntu by executing this command in the terminal.

sudo apt-get -y install rasdaemon

Install rasdaemon using Aptitude

You must run this command to install Aptitude if you haven’t already done so on Ubuntu.

sudo apt-get install aptitude

After that, you can now install rasdaemon 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 -y update

Step 2: Install the package on Ubuntu 22.04. After updating the system, you can install rasdaemon Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude install rasdaemon

Uninstall rasdaemon on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just rasdaemon.

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

sudo apt remove --auto-remove rasdaemon

If you want to uninstall rasdaemon and remove its data and dependencies, you can also run the following command:

sudo apt autoremove --purge rasdaemon

Conclusion

In this guide, I showed you ways to install rasdaemon on Ubuntu 22.04 and some ways to uninstall rasdaemon too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.