How To Install os-prober on Rocky Linux 8

In this tutorial we learn how to install os-prober on Rocky Linux 8. os-prober is Probes disks on the system for installed operating systems

Introduction

In this tutorial we learn how to install os-prober on Rocky Linux 8.

What is os-prober

This package detects other OSes available on a system and outputs the results in a generic machine-readable format. Support for new OSes and Linux distributions can be added easily.

We can use yum or dnf to install os-prober on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install os-prober.

Install os-prober on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install os-prober using dnf by running the following command:

sudo dnf -y install os-prober

Install os-prober on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install os-prober using yum by running the following command:

sudo yum -y install os-prober

How To Uninstall os-prober on Rocky Linux 8

To uninstall only the os-prober package we can use the following command:

sudo dnf remove os-prober

os-prober Package Contents on Rocky Linux 8

/usr/bin/linux-boot-prober
/usr/bin/os-prober
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/6aaff8d70b1940498b7bca5a76dfe222c6fa98
/usr/libexec/linux-boot-probes
/usr/libexec/linux-boot-probes/50mounted-tests
/usr/libexec/linux-boot-probes/mounted
/usr/libexec/linux-boot-probes/mounted/40grub
/usr/libexec/linux-boot-probes/mounted/40grub2
/usr/libexec/linux-boot-probes/mounted/50lilo
/usr/libexec/linux-boot-probes/mounted/90fallback
/usr/libexec/os-prober
/usr/libexec/os-prober/newns
/usr/libexec/os-probes
/usr/libexec/os-probes/50mounted-tests
/usr/libexec/os-probes/init
/usr/libexec/os-probes/init/10filesystems
/usr/libexec/os-probes/mounted
/usr/libexec/os-probes/mounted/05efi
/usr/libexec/os-probes/mounted/10freedos
/usr/libexec/os-probes/mounted/10qnx
/usr/libexec/os-probes/mounted/20macosx
/usr/libexec/os-probes/mounted/20microsoft
/usr/libexec/os-probes/mounted/30utility
/usr/libexec/os-probes/mounted/40lsb
/usr/libexec/os-probes/mounted/70hurd
/usr/libexec/os-probes/mounted/80minix
/usr/libexec/os-probes/mounted/83haiku
/usr/libexec/os-probes/mounted/90linux-distro
/usr/libexec/os-probes/mounted/90solaris
/usr/libexec/os-probes/mounted/efi
/usr/libexec/os-probes/mounted/efi/10elilo
/usr/libexec/os-probes/mounted/efi/20microsoft
/usr/share/doc/os-prober
/usr/share/doc/os-prober/README
/usr/share/doc/os-prober/TODO
/usr/share/doc/os-prober/changelog
/usr/share/licenses/os-prober
/usr/share/licenses/os-prober/copyright
/usr/share/os-prober
/usr/share/os-prober/common.sh
/var/lib/os-prober

References

Summary

In this tutorial we learn how to install os-prober on Rocky Linux 8 using yum and dnf.