Ways to Uninstall and Install shim-signed on Ubuntu 22.04

Updated: October 26, 2022

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. I will show you how to install shim-signed on Ubuntu 22.04 in this guide.

Prerequisites

  • OS: Ubuntu 22.04 or older Ubuntu versions
  • Privileges: Check that you can run sudo commands.

Prerequisites to install shim-signed on Ubuntu 22.04

Install shim-signed Ubuntu 22.04

shim-signed is one of the popular ways on Ubuntu now so that this tutorial will show you some ways to install it. Choose the one you believe is simple and easy to follow.

Install shim-signed using APT

This is a popular method for installing Ubuntu packages because it’s easy to follow, even if you are a newbie in Linux. Following these steps to get shim-signed on your Ubuntu.

Step 1: Update the APT database to download new packages from Ubuntu. Launching the terminal and entering the following Linux command:

sudo apt update

Step 2: Install the package on Ubuntu 22.04. After updating, you can install shim-signed Ubuntu by executing this command in the terminal.

sudo apt-get install shim-signed

Install shim-signed using Aptitude

Aptitude allows users to view a list of available packages and manage package installation, upgrade, and removal. If you haven’t already done so, run this command to install it.

sudo apt -y install aptitude

Then, you can now install shim-signed by following these steps:

Step 1: Update the APT database to download new packages from Ubuntu. Opening the terminal and executing this Linux command:

sudo apt update

Step 2: Start the package installation on Ubuntu 22.04. After updating the system, you can install shim-signed Ubuntu by pasting this command into the terminal and executing it.

sudo aptitude -y install shim-signed

Uninstall shim-signed on Ubuntu 22.04

Have you ever thought that uninstalling an application from Ubuntu is difficult? You are mistaken; Anyone can easily uninstall any program, not just shim-signed.

You can uninstall shim-signed on Ubuntu by running this command if you installed it using APT or Aptitude.

sudo apt remove --auto-remove shim-signed

You can also execute this command if you want to uninstall shim-signed and remove its data and dependencies:

sudo apt autoremove --purge shim-signed

Conclusion

In this guide, I showed you ways to install shim-signed on Ubuntu 22.04 and ways to uninstall shim-signed too. Please do not hesitate to contact me if you require assistance. I’m delighted to respond.