How To Install lcmaps on Fedora 34

lcmaps is Grid (X.509) and VOMS credentials to local account mapping service Grid (X.509) and VOMS credentials to local account mapping service

Introduction

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

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. lcmaps 1.6.6 5.fc34 x86_64 90 k lcmaps-1.6.6-5.fc34.src.rpm fedora Grid (X.509) and VOMS credentials to local account mapping service http ASL 2.0 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 34. In this tutorial we discuss both methods but you only need to choose one of method to install lcmaps.

Install lcmaps on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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

sudo dnf -y install lcmaps

Install lcmaps on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

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 34

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

sudo dnf remove lcmaps

lcmaps Package Contents on Fedora 34

/etc/lcmaps
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/3faf0255d96e95278331c7b9677dddb7022153
/usr/lib/.build-id/63
/usr/lib/.build-id/63/5722ea3326f936ba965b152b4e2932cf53aa64
/usr/lib/.build-id/97
/usr/lib/.build-id/97/5f64cf0941c2d3bb4c05cb3ec2300d3aeefe1a
/usr/lib/.build-id/99
/usr/lib/.build-id/99/f166866445f5ec5f60c6e6301a6c46acc8550e
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/b6dc8c89f9ee55c9aa62a3b86430994120a92d
/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
/etc/lcmaps
/usr/lib/.build-id
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/52c78511aae506ca3bad03323e606c33988f7b
/usr/lib/.build-id/8a
/usr/lib/.build-id/8a/4f8a26c21bd3c12242ba2df00dfadd74d35b7a
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/4648805553cfb5588edc833952b788a968394c
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/9e47d29661803effaba3f88afc135f2c95ea1d
/usr/lib/.build-id/f2/d3eee526580a221ce6a0fe374c2ef3a7535ce2
/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

Summary

In this tutorial we learn how to install lcmaps on Fedora 34 using yum and dnf.