How To Install memtest86+ on Ubuntu 22.04
Introduction
In this tutorial we learn how to install memtest86+
on Ubuntu 22.04.
What is memtest86+
memtest86+ is:
Memtest86+ scans your RAM for errors.
This tester runs independently of any OS - it is run at computer boot-up, so that it can test all of your memory. You may want to look at `memtester’, which allows to test your memory within Linux, but this one won’t be able to test your whole RAM.
It can output a list of bad RAM regions usable by the BadRAM kernel patch, so that you can still use your old RAM with one or two bad bits.
Memtest86+ is based on memtest86 3.0, and adds support for recent hardware, as well as a number of general-purpose improvements, including many patches to memtest86 available from various sources.
Both memtest86 and memtest86+ are being worked on in parallel.
There are three methods to install memtest86+
on Ubuntu 22.04. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install memtest86+ Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install memtest86+
using apt-get
by running the following command:
sudo apt-get -y install memtest86+
Install memtest86+ Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install memtest86+
using apt
by running the following command:
sudo apt -y install memtest86+
Install memtest86+ Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install memtest86+
using aptitude
by running the following command:
sudo aptitude -y install memtest86+
How To Uninstall memtest86+ on Ubuntu 22.04
To uninstall only the memtest86+
package we can use the following command:
sudo apt-get remove memtest86+
Uninstall memtest86+ And Its Dependencies
To uninstall memtest86+
and its dependencies that are no longer needed by Ubuntu 22.04, we can use the command below:
sudo apt-get -y autoremove memtest86+
Remove memtest86+ Configurations and Data
To remove memtest86+
configuration and data from Ubuntu 22.04 we can use the following command:
sudo apt-get -y purge memtest86+
Remove memtest86+ configuration, data, and all of its dependencies
We can use the following command to remove memtest86+
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge memtest86+
References
Summary
In this tutorial we learn how to install memtest86+
package on Ubuntu 22.04 using different package management tools: apt
, apt-get
and aptitude
.