How To Install google-guest-agent on Fedora 36

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

Introduction

In this tutorial we learn how to install google-guest-agent on Fedora 36.

What is google-guest-agent

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-guest-agent on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install google-guest-agent.

Install google-guest-agent 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-guest-agent using dnf by running the following command:

sudo dnf -y install google-guest-agent

Install google-guest-agent 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-guest-agent using yum by running the following command:

sudo yum -y install google-guest-agent

How To Uninstall google-guest-agent on Fedora 36

To uninstall only the google-guest-agent package we can use the following command:

sudo dnf remove google-guest-agent

google-guest-agent Package Contents on Fedora 36

/etc/default/instance_configs.cfg
/usr/bin/google_guest_agent
/usr/bin/google_metadata_script_runner
/usr/lib/.build-id
/usr/lib/.build-id/17
/usr/lib/.build-id/17/19ec5632883ac79395ab85d62d9a6482f975fe
/usr/lib/.build-id/be
/usr/lib/.build-id/be/85502f90efaae07977ff506503c10ef104b489
/usr/lib/systemd/system/google-guest-agent.service
/usr/lib/systemd/system/google-shutdown-scripts.service
/usr/lib/systemd/system/google-startup-scripts.service
/usr/share/doc/google-guest-agent
/usr/share/doc/google-guest-agent/CONTRIBUTING.md
/usr/share/doc/google-guest-agent/README.md
/usr/share/licenses/google-guest-agent
/usr/share/licenses/google-guest-agent/LICENSE

References

Summary

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