How To Install google-compute-engine-guest-configs on Fedora 36

In this tutorial we learn how to install google-compute-engine-guest-configs in Fedora 36. google-compute-engine-guest-configs is Google Compute Engine guest environment tools

Introduction

In this tutorial we learn how to install google-compute-engine-guest-configs on Fedora 36.

What is google-compute-engine-guest-configs

This package contains scripts, configuration, and init files for features specific to the Google Compute Engine cloud environment.

We can use yum or dnf to install google-compute-engine-guest-configs on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install google-compute-engine-guest-configs.

Install google-compute-engine-guest-configs on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install google-compute-engine-guest-configs using dnf by running the following command:

sudo dnf -y install google-compute-engine-guest-configs

Install google-compute-engine-guest-configs on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install google-compute-engine-guest-configs using yum by running the following command:

sudo yum -y install google-compute-engine-guest-configs

How To Uninstall google-compute-engine-guest-configs on Fedora 36

To uninstall only the google-compute-engine-guest-configs package we can use the following command:

sudo dnf remove google-compute-engine-guest-configs

google-compute-engine-guest-configs Package Contents on Fedora 36

/etc/dhcp/dhclient.d/google_hostname.sh
/etc/rsyslog.d/90-google.conf
/etc/sysctl.d/60-gce-network-security.conf
/usr/bin/google_optimize_local_ssd
/usr/bin/google_set_hostname
/usr/bin/google_set_multiqueue
/usr/lib/dracut/dracut.conf.d/gce.conf
/usr/lib/modprobe.d/gce-blacklist.conf
/usr/lib/udev/google_nvme_id
/usr/lib/udev/rules.d/64-gce-disk-removal.rules
/usr/lib/udev/rules.d/65-gce-disk-naming.rules
/usr/share/doc/google-compute-engine-guest-configs
/usr/share/doc/google-compute-engine-guest-configs/README.md
/usr/share/licenses/google-compute-engine-guest-configs
/usr/share/licenses/google-compute-engine-guest-configs/LICENSE

References

Summary

In this tutorial we learn how to install google-compute-engine-guest-configs on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).