How To Install lcmaps on Fedora 36

In this tutorial we learn how to install lcmaps in Fedora 36. lcmaps is Grid (X.509) and VOMS credentials to local account mapping service

Introduction

In this tutorial we learn how to install lcmaps on Fedora 36.

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-devel package.

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

Install lcmaps on Fedora 36 Using dnf

Update yum database with dnf using the following command.

title: "How To Install lcmaps on Fedora 36"
sudo dnf makecache --refresh
linkTitle: "lcmaps"

type: “docs”

description: “In this tutorial we learn how to install lcmaps in Fedora 36. lcmaps is Grid (X.509) and VOMS credentials to local account mapping service” After updating yum database, We can install lcmaps using dnf by running the following command:

date: “2022-08-17”

lastmod: "2022-08-17"
sudo dnf -y install lcmaps
#image: /images/fedora/36/lcmaps-featured.png

Install lcmaps on Fedora 36 Using yum

Introduction

Update yum database with yum using the following command. In this tutorial we learn how to install lcmaps on Fedora 36.

### What is `lcmaps`
sudo yum makecache --refresh

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-devel package.

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

We can use `yum` or `dnf` to install `lcmaps` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install lcmaps.
sudo yum -y install lcmaps

Install lcmaps on Fedora 36 Using dnf

How To Uninstall lcmaps on Fedora 36

Update yum database with dnf using the following command.

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


sudo dnf makecache --refresh
```bash

sudo dnf remove lcmaps


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

## lcmaps Package Contents on Fedora 36
```bash

sudo dnf -y install lcmaps
```bash

Install lcmaps on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install lcmaps

How To Uninstall lcmaps on Fedora 36

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

sudo dnf remove lcmaps

lcmaps Package Contents on Fedora 36

/etc/lcmaps
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/8432a26d47bc045a7993da087dc0c8e7ec5c01
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/9de31093927815006fe8ebb7a62233d26fe70c
/usr/lib/.build-id/b7
/usr/lib/.build-id/b7/139c55878421db345a0217fd080bd5994210c2
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/b73e50273988193da071e0bbaa4a4aa26942b8
/usr/lib/.build-id/d5
/usr/lib/.build-id/d5/e38b3c16856763ff79aaeef3ebdceca52f9fcd
/usr/lib64/lcmaps
/usr/lib64/liblcmaps.so
/usr/lib64/liblcmaps.so.0
/usr/lib64/liblcmaps.so.0.0.0
/usr/lib64/liblcmaps_gss_assist_gridmap.so
/usr/lib64/liblcmaps_gss_assist_gridmap.so.0
/usr/lib64/liblcmaps_gss_assist_gridmap.so.0.0.0
/usr/lib64/liblcmaps_return_account_from_pem.so
/usr/lib64/liblcmaps_return_account_from_pem.so.0
/usr/lib64/liblcmaps_return_account_from_pem.so.0.0.0
/usr/lib64/liblcmaps_return_poolindex.so
/usr/lib64/liblcmaps_return_poolindex.so.0
/usr/lib64/liblcmaps_return_poolindex.so.0.0.0
/usr/lib64/liblcmaps_verify_account_from_pem.so
/usr/lib64/liblcmaps_verify_account_from_pem.so.0
/usr/lib64/liblcmaps_verify_account_from_pem.so.0.0.0
/usr/share/doc/lcmaps
/usr/share/doc/lcmaps/AUTHORS
/usr/share/doc/lcmaps/BUGS
/usr/share/doc/lcmaps/LICENSE
/usr/share/doc/lcmaps/NEWS
/usr/share/doc/lcmaps/README
/usr/share/doc/lcmaps/README.NO_LDAP
/usr/share/doc/lcmaps/groupmapfile
/usr/share/doc/lcmaps/lcmaps.db
/usr/share/doc/lcmaps/vomapfile
/usr/share/man/man3/lcmaps.3.gz

References

Summary

In this tutorial we learn how to install lcmaps on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

/etc/lcmaps /usr/lib/.build-id /usr/lib/.build-id/12 /usr/lib/.build-id/12/022bbf6a260612d305c5c035a97db24b00f558 /usr/lib/.build-id/46 /usr/lib/.build-id/46/53e8c9c2ce501cf16a154ffa74064782371571 /usr/lib/.build-id/bd /usr/lib/.build-id/bd/c0364c42ecf36c0e5200762f9b1923fcd4bd12 /usr/lib/.build-id/e4 /usr/lib/.build-id/e4/1cd19982f1c6c63d93b2dbb6947662e38a790c /usr/lib/.build-id/f4 /usr/lib/.build-id/f4/bcf2398159aeca9dd070ee2731981f0b11ec89 /usr/lib/lcmaps /usr/lib/liblcmaps.so /usr/lib/liblcmaps.so.0 /usr/lib/liblcmaps.so.0.0.0 /usr/lib/liblcmaps_gss_assist_gridmap.so /usr/lib/liblcmaps_gss_assist_gridmap.so.0 /usr/lib/liblcmaps_gss_assist_gridmap.so.0.0.0 /usr/lib/liblcmaps_return_account_from_pem.so /usr/lib/liblcmaps_return_account_from_pem.so.0 /usr/lib/liblcmaps_return_account_from_pem.so.0.0.0 /usr/lib/liblcmaps_return_poolindex.so /usr/lib/liblcmaps_return_poolindex.so.0 /usr/lib/liblcmaps_return_poolindex.so.0.0.0 /usr/lib/liblcmaps_verify_account_from_pem.so /usr/lib/liblcmaps_verify_account_from_pem.so.0 /usr/lib/liblcmaps_verify_account_from_pem.so.0.0.0 /usr/share/doc/lcmaps /usr/share/doc/lcmaps/AUTHORS /usr/share/doc/lcmaps/BUGS /usr/share/doc/lcmaps/LICENSE /usr/share/doc/lcmaps/NEWS /usr/share/doc/lcmaps/README /usr/share/doc/lcmaps/README.NO_LDAP /usr/share/doc/lcmaps/groupmapfile /usr/share/doc/lcmaps/lcmaps.db /usr/share/doc/lcmaps/vomapfile /usr/share/man/man3/lcmaps.3.gz


## References

* [lcmaps website](http://wiki.nikhef.nl/grid/LCMAPS)

## Summary

In this tutorial we learn how to install `lcmaps` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).