How To Install lcmaps on CentOS 7

In this tutorial we learn how to install lcmaps on CentOS 7. lcmaps is Grid (X.509) and VOMS credentials to local account mapping service

Introduction

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

What is lcmaps

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. It is a highly configurable pluggable interface, and many plugins are available to tailor almost every need. Since this is middleware, it does not interact with the user directly; to use it in a program please see the lcmaps-interface package.

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

Install lcmaps on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install lcmaps

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

sudo dnf -y install lcmaps

How To Uninstall lcmaps on CentOS 7

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

sudo dnf remove lcmaps

References

Summary

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