How To Install shim-signed-common on Debian 12

Learn how to install shim-signed-common on Debian 12 with this tutorial. shim-signed-common is Secure Boot chain-loading bootloader (common helper scripts)

Introduction

In this tutorial we learn how to install shim-signed-common on Debian 12.

What is shim-signed-common

shim-signed-common is:

This package provides a minimalist boot loader which allows verifying signatures of other UEFI binaries against either the Secure Boot DB/DBX or against a built-in signature database. Its purpose is to allow a small, infrequently-changing binary to be signed by the UEFI CA, while allowing an OS distributor to revision their main bootloader independently of the CA.

This package contains common helper scripts for all versions of the shim-signed package.

There are three methods to install shim-signed-common on Debian 12. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install shim-signed-common Using apt-get

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

sudo apt-get update

After updating apt database, We can install shim-signed-common using apt-get by running the following command:

sudo apt-get -y install shim-signed-common

Install shim-signed-common Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install shim-signed-common using apt by running the following command:

sudo apt -y install shim-signed-common

Install shim-signed-common 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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install shim-signed-common using aptitude by running the following command:

sudo aptitude -y install shim-signed-common

How To Uninstall shim-signed-common on Debian 12

To uninstall only the shim-signed-common package we can use the following command:

sudo apt-get remove shim-signed-common

Uninstall shim-signed-common And Its Dependencies

To uninstall shim-signed-common and its dependencies that are no longer needed by Debian 12, we can use the command below:

sudo apt-get -y autoremove shim-signed-common

Remove shim-signed-common Configurations and Data

To remove shim-signed-common configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge shim-signed-common

Remove shim-signed-common configuration, data, and all of its dependencies

We can use the following command to remove shim-signed-common configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge shim-signed-common

Dependencies

shim-signed-common have the following dependencies:

References

Summary

In this tutorial we learn how to install shim-signed-common package on Debian 12 using different package management tools: apt, apt-get and aptitude.