How To Install lcmaps-plugins-jobrep on Debian 11

In this tutorial we learn how to install lcmaps-plugins-jobrep on Debian 11. lcmaps-plugins-jobrep is Jobrepository plugin for the LCMAPS authorization framework

Introduction

In this tutorial we learn how to install lcmaps-plugins-jobrep on Debian 11.

What is lcmaps-plugins-jobrep

lcmaps-plugins-jobrep is:

The Local Centre MAPping Service (LCMAPS) is a security middleware component that processes the users Grid credentials (typically X.509 proxy certificates and VOMS attributes) and maps the user to a local account based on the site local policy.

This package contains the LCMAPS jobrepository plug-in, which stores credentials and the resulting account mappings into a relational database. This plugin will link up all the known in-process information from LCMAPS core memory and store it in a database. This plug-in uses ODBC (http://en.wikipedia.org/wiki/ODBC) to connect to the database.

The current state of the mappings between various credentials and Unix accounts is stored in an open database on disk, but this information can change over time through (regular) system administrative interventions. This state is now preserved in a relational database with the added benefit of being accessible by other systems, e.g. GridSAFE and build-up an easy to backup historic view on the mapping state.

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

Install lcmaps-plugins-jobrep Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install lcmaps-plugins-jobrep

Install lcmaps-plugins-jobrep Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install lcmaps-plugins-jobrep using apt by running the following command:

sudo apt -y install lcmaps-plugins-jobrep

Install lcmaps-plugins-jobrep 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 lcmaps-plugins-jobrep using aptitude by running the following command:

sudo aptitude -y install lcmaps-plugins-jobrep

How To Uninstall lcmaps-plugins-jobrep on Debian 11

To uninstall only the lcmaps-plugins-jobrep package we can use the following command:

sudo apt-get remove lcmaps-plugins-jobrep

Uninstall lcmaps-plugins-jobrep And Its Dependencies

To uninstall lcmaps-plugins-jobrep and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove lcmaps-plugins-jobrep

Remove lcmaps-plugins-jobrep Configurations and Data

To remove lcmaps-plugins-jobrep configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge lcmaps-plugins-jobrep

Remove lcmaps-plugins-jobrep configuration, data, and all of its dependencies

We can use the following command to remove lcmaps-plugins-jobrep configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge lcmaps-plugins-jobrep

Dependencies

lcmaps-plugins-jobrep have the following dependencies:

References

Summary

In this tutorial we learn how to install lcmaps-plugins-jobrep package on Debian 11 using different package management tools: apt, apt-get and aptitude.