How To Install pygpgme.x86_64 on Amazon Linux 2

In this tutorial we learn how to install pygpgme.x86_64 in Amazon Linux 2. pygpgme.x86_64 is Python module for working with OpenPGP messages

Introduction

In this tutorial we learn how to install pygpgme.x86_64 on Amazon Linux 2.

What is pygpgme.x86_64

PyGPGME is a Python module that lets you sign, verify, encrypt and decrypt files using the OpenPGP format. It is built on top of GNU Privacy Guard and the GPGME library.

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

Install pygpgme.x86_64 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 pygpgme.x86_64 using yum by running the following command:

sudo yum -y install pygpgme.x86_64

How To Uninstall pygpgme.x86_64 on Amazon Linux 2

To uninstall only the pygpgme.x86_64 package we can use the following command:

sudo yum remove pygpgme.x86_64

pygpgme.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/python2.7/site-packages/gpgme
/usr/lib64/python2.7/site-packages/gpgme/__init__.py
/usr/lib64/python2.7/site-packages/gpgme/__init__.pyc
/usr/lib64/python2.7/site-packages/gpgme/__init__.pyo
/usr/lib64/python2.7/site-packages/gpgme/_gpgme.so
/usr/lib64/python2.7/site-packages/gpgme/editutil.py
/usr/lib64/python2.7/site-packages/gpgme/editutil.pyc
/usr/lib64/python2.7/site-packages/gpgme/editutil.pyo
/usr/lib64/python2.7/site-packages/pygpgme-0.3-py2.7.egg-info
/usr/share/doc/pygpgme-0.3
/usr/share/doc/pygpgme-0.3/PKG-INFO
/usr/share/doc/pygpgme-0.3/README

References

Summary

In this tutorial we learn how to install pygpgme.x86_64 on Amazon Linux 2 using yum.