How To Install anaconda-dracut on CentOS 8

Hostnbit
anaconda-dracut is The anaconda dracut module

Introduction

In this tutorial we learn how to install anaconda-dracut on CentOS 8.

What is anaconda-dracut

The ‘anaconda’ dracut module handles installer-specific boot tasks and options. This includes driver disks, kickstarts, and finding the anaconda runtime on NFS/HTTP/FTP servers or local disks.

We can use yum or dnf to install anaconda-dracut on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install anaconda-dracut.

Install anaconda-dracut on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo dnf -y install anaconda-dracut

Install anaconda-dracut on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

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

sudo yum -y install anaconda-dracut

How To Uninstall anaconda-dracut on CentOS 8

To uninstall only the anaconda-dracut package we can use the following command:

sudo dnf remove anaconda-dracut

anaconda-dracut Package Contents on CentOS 8

/usr/lib/.build-id
/usr/lib/.build-id/09/dd70222a7aefa8163218705eade4a5daebcb13
/usr/lib/.build-id/43/161b7a15220483ff36c2fdcdbb1d381d5dd903
/usr/lib/dracut/modules.d/80anaconda
/usr/lib/dracut/modules.d/80anaconda/anaconda-copy-cmdline.sh
/usr/lib/dracut/modules.d/80anaconda/anaconda-copy-dhclient.sh
/usr/lib/dracut/modules.d/80anaconda/anaconda-copy-ks.sh
/usr/lib/dracut/modules.d/80anaconda/anaconda-copy-prefixdevname.sh
/usr/lib/dracut/modules.d/80anaconda/anaconda-copy-s390ccwconf.sh
/usr/lib/dracut/modules.d/80anaconda/anaconda-depmod.sh
/usr/lib/dracut/modules.d/80anaconda/anaconda-diskroot
/usr/lib/dracut/modules.d/80anaconda/anaconda-hmcroot
/usr/lib/dracut/modules.d/80anaconda/anaconda-ifcfg.sh
/usr/lib/dracut/modules.d/80anaconda/anaconda-ifdown
/usr/lib/dracut/modules.d/80anaconda/anaconda-ks-sendheaders.sh
/usr/lib/dracut/modules.d/80anaconda/anaconda-lib.sh
/usr/lib/dracut/modules.d/80anaconda/anaconda-modprobe.sh
/usr/lib/dracut/modules.d/80anaconda/anaconda-netroot.sh
/usr/lib/dracut/modules.d/80anaconda/anaconda-pre-shutdown.sh
/usr/lib/dracut/modules.d/80anaconda/anaconda-set-kernel-hung-timeout.sh
/usr/lib/dracut/modules.d/80anaconda/driver-updates-genrules.sh
/usr/lib/dracut/modules.d/80anaconda/[email protected]
/usr/lib/dracut/modules.d/80anaconda/driver_updates.py
/usr/lib/dracut/modules.d/80anaconda/fetch-driver-net.sh
/usr/lib/dracut/modules.d/80anaconda/fetch-kickstart-disk
/usr/lib/dracut/modules.d/80anaconda/fetch-kickstart-net.sh
/usr/lib/dracut/modules.d/80anaconda/fetch-updates-disk
/usr/lib/dracut/modules.d/80anaconda/find-net-intfs-by-driver
/usr/lib/dracut/modules.d/80anaconda/kickstart-genrules.sh
/usr/lib/dracut/modules.d/80anaconda/module-setup.sh
/usr/lib/dracut/modules.d/80anaconda/parse-anaconda-dd.sh
/usr/lib/dracut/modules.d/80anaconda/parse-anaconda-kickstart.sh
/usr/lib/dracut/modules.d/80anaconda/parse-anaconda-net.sh
/usr/lib/dracut/modules.d/80anaconda/parse-anaconda-options.sh
/usr/lib/dracut/modules.d/80anaconda/parse-anaconda-repo.sh
/usr/lib/dracut/modules.d/80anaconda/parse-kickstart
/usr/lib/dracut/modules.d/80anaconda/python-deps
/usr/lib/dracut/modules.d/80anaconda/repo-genrules.sh
/usr/lib/dracut/modules.d/80anaconda/save-initramfs.sh
/usr/lib/dracut/modules.d/80anaconda/updates-genrules.sh
/usr/libexec/anaconda/dd_extract
/usr/libexec/anaconda/dd_list

References

Summary

In this tutorial we learn how to install anaconda-dracut on CentOS 8 using yum and dnf.

Hostnbit

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Menu Title
Scroll to Top