How To Install torque on CentOS 7

In this tutorial we learn how to install torque on CentOS 7. torque is Tera-scale Open-source Resource and QUEue manager

Introduction

In this tutorial we learn how to install torque on CentOS 7.

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 CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install torque.

Install torque on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install torque

Install torque on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install torque

How To Uninstall torque on CentOS 7

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

sudo dnf remove torque

References

Summary

In this tutorial we learn how to install torque on CentOS 7 using yum and dnf.