How To Install Memtest on Ubuntu 22.04 LTS
In this tutorial, we will show you how to install Memtest on Ubuntu 22.04 LTS. For those of you who didn’t know, Memtests are memory-testing programs that check for faults in the RAM of your system. Memtest or Memtest86+ reads data, writes the memory address patterns, and checks the errors. 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.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo
‘ to the commands to get root privileges. I will show you the step-by-step installation of the Memtest on Ubuntu 22.04 (Jammy Jellyfish). You can follow the same instructions for Ubuntu 22.04 and any other Debian-based distribution like Linux Mint, Elementary OS, Pop!_OS, and more as well.
Prerequisites
- A server running one of the following operating systems: Ubuntu 22.04, 20.04, and any other Debian-based distribution like Linux Mint.
- It’s recommended that you use a fresh OS install to prevent any potential issues.
- SSH access to the server (or just open Terminal if you’re on a desktop).
- A
non-root sudo user
or access to theroot user
. We recommend acting as anon-root sudo user
, however, as you can harm your system if you’re not careful when acting as the root.
Install Memtest on Ubuntu 22.04 LTS Jammy Jellyfish
Step 1. First, make sure that all your system packages are up-to-date by running the following apt
commands in the terminal.
sudo apt update sudo apt upgrade sudo apt install wget apt-transport-https gnupg2 software-properties-common
Step 2. Installing Memtest on Ubuntu 22.04.
By default, Memtest is available on Ubuntu 22.04 base repository. Now run the following command below to install the latest stable version of Memtest to your Ubuntu system:
sudo apt install memtester
Step 3. Check Errors on RAM using Memtest.
Once successful installation of Memtester, you can check RAM for errors. To check the errors using Memtester, type and run the following command in the terminal:
sudo memtester size iteration
In addition, users can set the size and iteration according to their choice. The following command is executed to run a Memtest where the value of size is set to 100M and the number of passes would be 1:
sudo memtester 100M 1
Congratulations! You have successfully installed Memtest. Thanks for using this tutorial for installing the Memtest open-source memory testing tool on Ubuntu 22.04 LTS Jammy Jellyfish system. For additional help or useful information, we recommend you check the official Memtest website.