How To Install memtest86+ on Ubuntu 20.04

In this tutorial we learn how to install memtest86+ on Ubuntu 20.04. memtest86+ is thorough real-mode memory tester thorough real-mode memory tester

Introduction

In this tutorial we learn how to install memtest86+ on Ubuntu 20.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. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

Package: memtest86+ Architecture: amd64 Version: 5.01-3.1ubuntu1 Priority: optional Section: misc Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Yann Dirson [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 2488 Depends: debconf (>= 0.5) | debconf-2.0 Suggests: hwtools, memtester, kernel-patch-badram, memtest86, grub-pc | grub-legacy, mtools Filename: pool/main/m/memtest86+/memtest86+_5.01-3.1ubuntu1_amd64.deb Size: 71164 MD5sum: 19f45427cd51bd201650de08ee4eefae SHA1: fd4d696f55634b12f9734be3d154eeb38e3ed994 SHA256: 1fca6a33e751b2f36e7e1a1f7a14f7db15af2f6ec4164de655e8f925514e87a5 Homepage: http://www.memtest.org/ Description-en: thorough real-mode memory tester 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. Task: ubuntu-desktop-minimal, ubuntu-desktop, kubuntu-desktop, xubuntu-core, xubuntu-desktop, lubuntu-desktop, ubuntustudio-desktop-core, ubuntustudio-desktop, ubuntukylin-desktop, ubuntu-mate-core, ubuntu-mate-desktop, ubuntu-budgie-desktop

There are three methods to install memtest86+ on Ubuntu 20.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 20.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 20.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 20.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 20.04 using different package management tools: apt, apt-get and aptitude.