How To Install vboot-utils on Ubuntu 20.04

In this tutorial we learn how to install vboot-utils on Ubuntu 20.04. vboot-utils is Chrome OS verified u-boot utilities

Introduction

In this tutorial we learn how to install vboot-utils on Ubuntu 20.04.

What is vboot-utils

vboot-utils is:

This package contains a set of tools to deal with Chromebook internals, and the verified version of u-boot. Namely: bmpblk_font bmpblk_utility chromeos-tpm-recovery crossystem dev_debug_vboot dev_make_keypair dumpRSAPublicKey eficompress efidecompress enable_dev_usb_boot load_kernel_test pad_digest_utility signature_digest_utility tpm-nvsize tpm_init_temp_fix tpmc vbutil_what_key verify_data.

The programs previously included in this package: dump_fmap dump_kernel_config futility gbb_utility vbutil_firmware vbutil_key vbutil_keyblock, are now grouped in the futility program in the package vboot-kernel-utils.

Most users don’t need this package, and should look for the cgpt and vboot-kernel-utils packages instead.

There are three methods to install vboot-utils 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 vboot-utils Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install vboot-utils

Install vboot-utils Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install vboot-utils

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

sudo aptitude -y install vboot-utils

How To Uninstall vboot-utils on Ubuntu 20.04

To uninstall only the vboot-utils package we can use the following command:

sudo apt-get remove vboot-utils

Uninstall vboot-utils And Its Dependencies

To uninstall vboot-utils and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove vboot-utils

Remove vboot-utils Configurations and Data

To remove vboot-utils configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge vboot-utils

Remove vboot-utils configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge vboot-utils

References

Summary

In this tutorial we learn how to install vboot-utils package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.