How To Install kboot-utils on Debian 9

In this tutorial we learn how to install kboot-utils on Debian 9. kboot-utils is helper tools to generate a kboot.conf file

Introduction

In this tutorial we learn how to install kboot-utils on Debian 9.

What is kboot-utils

kboot-utils is:

kboot-utils provides helper tools to automatically generate a kboot.conf file from entries in /boot.

kboot.conf is used for instance by the petitboot bootloader, which is used on the Sony PlayStation 3 in OtherOS mode; petitboot reads the file from the root filesystem in order to list kernels to boot.

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

Install kboot-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 kboot-utils using apt-get by running the following command:

sudo apt-get -y install kboot-utils

Install kboot-utils Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install kboot-utils

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

sudo aptitude update

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

sudo aptitude -y install kboot-utils

How To Uninstall kboot-utils on Debian 9

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

sudo apt-get remove kboot-utils

Uninstall kboot-utils And Its Dependencies

To uninstall kboot-utils and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove kboot-utils

Remove kboot-utils Configurations and Data

To remove kboot-utils configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge kboot-utils

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

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

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

Dependencies

kboot-utils have the following dependencies:

References

Summary

In this tutorial we learn how to install kboot-utils package on Debian 9 using different package management tools: apt, apt-get and aptitude.