How To Install torque on Fedora 34

torque is Tera-scale Open-source Resource and QUEue manager

Introduction

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

What is torque

TORQUE (Tera-scale Open-source Resource and QUEue manager) is a resource manager providing control over batch jobs and distributed compute nodes. TORQUE is based on OpenPBS version 2.3.12 and incorporates scalability, fault tolerance, and feature extension patches provided by USC, NCSA, OSC, the U.S. Dept of Energy, Sandia, PNNL, U of Buffalo, TeraGrid, and many other leading edge HPC organizations. This package holds just a few shared files and directories.

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

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

sudo dnf -y install torque

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

sudo yum -y install torque

How To Uninstall torque on Fedora 34

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

sudo dnf remove torque

torque Package Contents on Fedora 34

/etc/torque/pbs_environment
/etc/torque/server_name
/usr/lib/.build-id
/usr/lib/.build-id/4a
/usr/lib/.build-id/4a/7ffb5b284ca956421696bb971e2a89a75d6ec3
/usr/lib/systemd/system/trqauthd.service
/usr/sbin/trqauthd
/usr/share/doc/torque
/usr/share/doc/torque/CHANGELOG
/usr/share/doc/torque/PBS_License.txt
/usr/share/doc/torque/PBS_License_2.3.txt
/usr/share/doc/torque/README.Fedora
/usr/share/doc/torque/README.torque
/usr/share/doc/torque/Release_Notes
/usr/share/doc/torque/torque.setup
/usr/share/man/man1/pbs.1.gz
/var/lib/torque
/var/lib/torque/aux
/var/lib/torque/checkpoint
/var/lib/torque/pbs_environment
/var/lib/torque/server_name
/var/lib/torque/spool
/var/lib/torque/undelivered

References

Summary

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