How To Install htcondor on Debian 9

In this tutorial we learn how to install htcondor on Debian 9. htcondor is distributed workload management system

Introduction

In this tutorial we learn how to install htcondor on Debian 9.

What is htcondor

htcondor is:

Like other full-featured batch systems, HTCondor provides a job queueing mechanism, scheduling policy, priority scheme, resource monitoring, and resource management. Users submit their serial or parallel jobs to HTCondor; HTCondor places them into a queue. It chooses when and where to run the jobs based upon a policy, carefully monitors their progress, and ultimately informs the user upon completion.

Unlike more traditional batch queueing systems, HTCondor can also effectively harness wasted CPU power from otherwise idle desktop workstations. HTCondor does not require a shared file system across machines - if no shared file system is available, HTCondor can transfer the job’s data files on behalf of the user.

This package can set up an appropriate initial configuration at install time for a machine intended either as a member of an existing HTCondor pool or as a “Personal” (single machine) HTCondor pool.

There are three methods to install htcondor on Debian 9. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install htcondor Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install htcondor using apt-get by running the following command:

sudo apt-get -y install htcondor

Install htcondor Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install htcondor using apt by running the following command:

sudo apt -y install htcondor

Install htcondor Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install htcondor using aptitude by running the following command:

sudo aptitude -y install htcondor

How To Uninstall htcondor on Debian 9

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

sudo apt-get remove htcondor

Uninstall htcondor And Its Dependencies

To uninstall htcondor and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove htcondor

Remove htcondor Configurations and Data

To remove htcondor configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge htcondor

Remove htcondor configuration, data, and all of its dependencies

We can use the following command to remove htcondor configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge htcondor

Dependencies

htcondor have the following dependencies:

References

Summary

In this tutorial we learn how to install htcondor package on Debian 9 using different package management tools: apt, apt-get and aptitude.