How To Install torque-server on CentOS 7

In this tutorial we learn how to install torque-server on CentOS 7. torque-server is The main part of TORQUE

Introduction

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

What is torque-server

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 the server.

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

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

sudo yum -y install torque-server

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

sudo dnf -y install torque-server

How To Uninstall torque-server on CentOS 7

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

sudo dnf remove torque-server

References

Summary

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