How To Install gold on Fedora 34

gold is Tracks and manages resource usage on High Performance Computers

Introduction

In this tutorial we learn how to install gold on Fedora 34.

What is gold

The Gold Allocation Manager is an open source accounting system developed by Pacific Northwest National Laboratory (PNNL) as part of the Department of Energy (DOE) Scalable Systems Software Project (SSS). It tracks resource usage on High Performance Computers and acts much like a bank, establishing accounts in order to pre-allocate user and project resource usage over specific nodes and time-frame. Gold provides balance and usage feedback to users, managers, and system administrators. SQLite is used by default, but Gold can be configured to use either MySQL or PostgreSQL instead.

We can use yum or dnf to install gold on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install gold.

Install gold on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install gold

Install gold on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install gold using yum by running the following command:

sudo yum -y install gold

How To Uninstall gold on Fedora 34

To uninstall only the gold package we can use the following command:

sudo dnf remove gold

gold Package Contents on Fedora 34

/etc/gold.conf
/etc/goldd.conf
/etc/goldg.conf
/usr/bin/gbalance
/usr/bin/gchaccount
/usr/bin/gchalloc
/usr/bin/gcharge
/usr/bin/gchmachine
/usr/bin/gchpasswd
/usr/bin/gchproject
/usr/bin/gchquote
/usr/bin/gchres
/usr/bin/gchuser
/usr/bin/gdeposit
/usr/bin/glsaccount
/usr/bin/glsalloc
/usr/bin/glsjob
/usr/bin/glsmachine
/usr/bin/glsproject
/usr/bin/glsquote
/usr/bin/glsres
/usr/bin/glstxn
/usr/bin/glsuser
/usr/bin/gmkaccount
/usr/bin/gmkmachine
/usr/bin/gmkproject
/usr/bin/gmkuser
/usr/bin/goldsh
/usr/bin/gquote
/usr/bin/grefund
/usr/bin/greserve
/usr/bin/grmaccount
/usr/bin/grmalloc
/usr/bin/grmmachine
/usr/bin/grmproject
/usr/bin/grmquote
/usr/bin/grmres
/usr/bin/grmuser
/usr/bin/gstatement
/usr/bin/gtransfer
/usr/bin/gusage
/usr/bin/gwithdraw
/usr/bin/mybalance
/usr/sbin/goldd
/usr/share/doc/gold
/usr/share/doc/gold/LICENSE
/usr/share/perl5/vendor_perl/Gold
/usr/share/perl5/vendor_perl/Gold.pm
/usr/share/perl5/vendor_perl/Gold/Assignment.pm
/usr/share/perl5/vendor_perl/Gold/Bank.pm
/usr/share/perl5/vendor_perl/Gold/Base.pm
/usr/share/perl5/vendor_perl/Gold/CGI.pm
/usr/share/perl5/vendor_perl/Gold/Cache.pm
/usr/share/perl5/vendor_perl/Gold/Chunk.pm
/usr/share/perl5/vendor_perl/Gold/Client.pm
/usr/share/perl5/vendor_perl/Gold/Condition.pm
/usr/share/perl5/vendor_perl/Gold/Database.pm
/usr/share/perl5/vendor_perl/Gold/Datum.pm
/usr/share/perl5/vendor_perl/Gold/Exception.pm
/usr/share/perl5/vendor_perl/Gold/Global.pm
/usr/share/perl5/vendor_perl/Gold/Message.pm
/usr/share/perl5/vendor_perl/Gold/Object.pm
/usr/share/perl5/vendor_perl/Gold/Option.pm
/usr/share/perl5/vendor_perl/Gold/Proxy.pm
/usr/share/perl5/vendor_perl/Gold/Reply.pm
/usr/share/perl5/vendor_perl/Gold/Request.pm
/usr/share/perl5/vendor_perl/Gold/Response.pm
/usr/share/perl5/vendor_perl/Gold/Selection.pm
/var/lib/gold

References

Summary

In this tutorial we learn how to install gold on Fedora 34 using yum and dnf.