How To Install opensc.i686 on Amazon Linux 2

In this tutorial we learn how to install opensc.i686 in Amazon Linux 2. opensc.i686 is Smart card library and applications

Introduction

In this tutorial we learn how to install opensc.i686 on Amazon Linux 2.

What is opensc.i686

OpenSC provides a set of libraries and utilities to work with smart cards. Its main focus is on cards that support cryptographic operations, and facilitate their use in security applications such as authentication, mail encryption and digital signatures. OpenSC implements the PKCS#11 API so applications supporting this API (such as Mozilla Firefox and Thunderbird) can use it. On the card OpenSC implements the PKCS#15 standard and aims to be compatible with every software/card that does so, too.

We can use yum to install opensc.i686 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install opensc.i686.

Install opensc.i686 on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install opensc.i686 using yum by running the following command:

sudo yum -y install opensc.i686

How To Uninstall opensc.i686 on Amazon Linux 2

To uninstall only the opensc.i686 package we can use the following command:

sudo yum remove opensc.i686

opensc.i686 Package Contents on Amazon Linux 2

/etc/opensc-i386.conf
/usr/bin/cardos-tool
/usr/bin/cryptoflex-tool
/usr/bin/dnie-tool
/usr/bin/egk-tool
/usr/bin/eidenv
/usr/bin/gids-tool
/usr/bin/iasecc-tool
/usr/bin/netkey-tool
/usr/bin/openpgp-tool
/usr/bin/opensc-asn1
/usr/bin/opensc-explorer
/usr/bin/opensc-tool
/usr/bin/piv-tool
/usr/bin/pkcs11-switch
/usr/bin/pkcs11-tool
/usr/bin/pkcs15-crypt
/usr/bin/pkcs15-init
/usr/bin/pkcs15-tool
/usr/bin/sc-hsm-tool
/usr/bin/westcos-tool
/usr/lib/libopensc.so.6
/usr/lib/libopensc.so.6.0.0
/usr/lib/libsmm-local.so.6
/usr/lib/libsmm-local.so.6.0.0
/usr/lib/onepin-opensc-pkcs11.so
/usr/lib/opensc-pkcs11.so
/usr/lib/pkcs11
/usr/lib/pkcs11-spy.so
/usr/lib/pkcs11/onepin-opensc-pkcs11.so
/usr/lib/pkcs11/opensc-pkcs11.so
/usr/lib/pkcs11/pkcs11-spy.so
/usr/lib/pkgconfig/opensc-pkcs11.pc
/usr/share/doc/opensc-0.19.0
/usr/share/doc/opensc-0.19.0/COPYING
/usr/share/doc/opensc-0.19.0/NEWS
/usr/share/doc/opensc-0.19.0/README
/usr/share/doc/opensc-0.19.0/README.pkcs15init
/usr/share/doc/opensc-0.19.0/README.scconf
/usr/share/man/man1/cardos-tool.1.gz
/usr/share/man/man1/cryptoflex-tool.1.gz
/usr/share/man/man1/dnie-tool.1.gz
/usr/share/man/man1/egk-tool.1.gz
/usr/share/man/man1/eidenv.1.gz
/usr/share/man/man1/gids-tool.1.gz
/usr/share/man/man1/iasecc-tool.1.gz
/usr/share/man/man1/netkey-tool.1.gz
/usr/share/man/man1/openpgp-tool.1.gz
/usr/share/man/man1/opensc-asn1.1.gz
/usr/share/man/man1/opensc-explorer.1.gz
/usr/share/man/man1/opensc-tool.1.gz
/usr/share/man/man1/piv-tool.1.gz
/usr/share/man/man1/pkcs11-tool.1.gz
/usr/share/man/man1/pkcs15-crypt.1.gz
/usr/share/man/man1/pkcs15-init.1.gz
/usr/share/man/man1/pkcs15-tool.1.gz
/usr/share/man/man1/sc-hsm-tool.1.gz
/usr/share/man/man1/westcos-tool.1.gz
/usr/share/man/man5/opensc-i386.conf.5.gz
/usr/share/man/man5/pkcs15-profile.5.gz
/usr/share/opensc
/usr/share/opensc/asepcos.profile
/usr/share/opensc/authentic.profile
/usr/share/opensc/cardos.profile
/usr/share/opensc/cyberflex.profile
/usr/share/opensc/entersafe.profile
/usr/share/opensc/epass2003.profile
/usr/share/opensc/flex.profile
/usr/share/opensc/gids.profile
/usr/share/opensc/gpk.profile
/usr/share/opensc/ias_adele_admin1.profile
/usr/share/opensc/ias_adele_admin2.profile
/usr/share/opensc/ias_adele_common.profile
/usr/share/opensc/iasecc.profile
/usr/share/opensc/iasecc_admin_eid.profile
/usr/share/opensc/iasecc_generic_oberthur.profile
/usr/share/opensc/iasecc_generic_pki.profile
/usr/share/opensc/incrypto34.profile
/usr/share/opensc/isoApplet.profile
/usr/share/opensc/jcop.profile
/usr/share/opensc/miocos.profile
/usr/share/opensc/muscle.profile
/usr/share/opensc/myeid.profile
/usr/share/opensc/oberthur.profile
/usr/share/opensc/openpgp.profile
/usr/share/opensc/pkcs15.profile
/usr/share/opensc/rutoken.profile
/usr/share/opensc/rutoken_ecp.profile
/usr/share/opensc/sc-hsm.profile
/usr/share/opensc/setcos.profile
/usr/share/opensc/starcos.profile
/usr/share/opensc/westcos.profile
/usr/share/p11-kit/modules/opensc.module

References

Summary

In this tutorial we learn how to install opensc.i686 on Amazon Linux 2 using yum.