How To Install python2-unbound.x86_64 on Amazon Linux 2

In this tutorial we learn how to install python2-unbound.x86_64 in Amazon Linux 2. python2-unbound.x86_64 is Python 2 modules and extensions for unbound

Introduction

In this tutorial we learn how to install python2-unbound.x86_64 on Amazon Linux 2.

What is python2-unbound.x86_64

Python 2 modules and extensions for unbound

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

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

sudo yum -y install python2-unbound.x86_64

How To Uninstall python2-unbound.x86_64 on Amazon Linux 2

To uninstall only the python2-unbound.x86_64 package we can use the following command:

sudo yum remove python2-unbound.x86_64

python2-unbound.x86_64 Package Contents on Amazon Linux 2

/usr/lib64/python2.7/site-packages/_unbound.so
/usr/lib64/python2.7/site-packages/unbound.py
/usr/lib64/python2.7/site-packages/unbound.pyc
/usr/lib64/python2.7/site-packages/unbound.pyo
/usr/lib64/python2.7/site-packages/unboundmodule.py
/usr/lib64/python2.7/site-packages/unboundmodule.pyc
/usr/lib64/python2.7/site-packages/unboundmodule.pyo
/usr/share/doc/python2-unbound-1.7.3
/usr/share/doc/python2-unbound-1.7.3/async-lookup.py
/usr/share/doc/python2-unbound-1.7.3/calc.py
/usr/share/doc/python2-unbound-1.7.3/dict.py
/usr/share/doc/python2-unbound-1.7.3/dict_data.txt
/usr/share/doc/python2-unbound-1.7.3/dns-lookup.py
/usr/share/doc/python2-unbound-1.7.3/dnssec-valid.py
/usr/share/doc/python2-unbound-1.7.3/dnssec_test.py
/usr/share/doc/python2-unbound-1.7.3/edns.py
/usr/share/doc/python2-unbound-1.7.3/example8-1.py
/usr/share/doc/python2-unbound-1.7.3/idn-lookup.py
/usr/share/doc/python2-unbound-1.7.3/inplace_callbacks.py
/usr/share/doc/python2-unbound-1.7.3/log.py
/usr/share/doc/python2-unbound-1.7.3/mx-lookup.py
/usr/share/doc/python2-unbound-1.7.3/ns-lookup.py
/usr/share/doc/python2-unbound-1.7.3/resgen.py
/usr/share/doc/python2-unbound-1.7.3/resip.py
/usr/share/doc/python2-unbound-1.7.3/resmod.py
/usr/share/doc/python2-unbound-1.7.3/reverse-lookup.py
/usr/share/licenses/python2-unbound-1.7.3
/usr/share/licenses/python2-unbound-1.7.3/LICENSE

References

Summary

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