How To Install iucode-tool on Ubuntu 18.04

In this tutorial we learn how to install iucode-tool on Ubuntu 18.04. iucode-tool is Intel processor microcode tool

Introduction

In this tutorial we learn how to install iucode-tool on Ubuntu 18.04.

What is iucode-tool

iucode-tool is:

iucode_tool is a program to manipulate Intel® X86 and X86-64 processor microcode collections, and to use the kernel facilities to upgrade the microcode on Intel system processors.

It can load microcode data files in text and binary format, sort, list and filter the microcodes contained in these files, write selected microcodes to a new file in binary format, or upload them to the kernel.

It operates on non-free microcode data downloaded directly from Intel or installed by the intel-microcode package.

There are three methods to install iucode-tool on Ubuntu 18.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 iucode-tool Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install iucode-tool using apt-get by running the following command:

sudo apt-get -y install iucode-tool

Install iucode-tool Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install iucode-tool using apt by running the following command:

sudo apt -y install iucode-tool

Install iucode-tool 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 iucode-tool using aptitude by running the following command:

sudo aptitude -y install iucode-tool

How To Uninstall iucode-tool on Ubuntu 18.04

To uninstall only the iucode-tool package we can use the following command:

sudo apt-get remove iucode-tool

Uninstall iucode-tool And Its Dependencies

To uninstall iucode-tool and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:

sudo apt-get -y autoremove iucode-tool

Remove iucode-tool Configurations and Data

To remove iucode-tool configuration and data from Ubuntu 18.04 we can use the following command:

sudo apt-get -y purge iucode-tool

Remove iucode-tool configuration, data, and all of its dependencies

We can use the following command to remove iucode-tool configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge iucode-tool

References

Summary

In this tutorial we learn how to install iucode-tool package on Ubuntu 18.04 using different package management tools: apt, apt-get and aptitude.