How To Install torque on CentOS 8
Introduction
In this tutorial we learn how to install torque
on CentOS 8.
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 8. In this tutorial we discuss both methods but you only need to choose one of method to install torque.
Install torque on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the torque
package we can use the following command:
sudo dnf remove torque
torque Package Contents on CentOS 8
/etc/torque/pbs_environment
/etc/torque/server_name
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/3538162b457dac5b0b4f1132b0207ee8c92275
/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 CentOS 8 using yum and dnf.