How To Install python-cpio.noarch on Amazon Linux 2

In this tutorial we learn how to install python-cpio.noarch in Amazon Linux 2. python-cpio.noarch is A Python module for accessing cpio archives

Introduction

In this tutorial we learn how to install python-cpio.noarch on Amazon Linux 2.

What is python-cpio.noarch

This is a Python module for accessing cpio archives.

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

Install python-cpio.noarch 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 python-cpio.noarch using yum by running the following command:

sudo yum -y install python-cpio.noarch

How To Uninstall python-cpio.noarch on Amazon Linux 2

To uninstall only the python-cpio.noarch package we can use the following command:

sudo yum remove python-cpio.noarch

python-cpio.noarch Package Contents on Amazon Linux 2

/usr/lib/python2.7/site-packages/cpioarchive.py
/usr/lib/python2.7/site-packages/cpioarchive.pyc
/usr/lib/python2.7/site-packages/cpioarchive.pyo
/usr/lib/python2.7/site-packages/python_cpio-0.1-py2.7.egg-info
/usr/share/doc/python-cpio-0.1
/usr/share/doc/python-cpio-0.1/AUTHORS
/usr/share/doc/python-cpio-0.1/COPYING.lib
/usr/share/doc/python-cpio-0.1/ChangeLog
/usr/share/doc/python-cpio-0.1/README
/usr/share/doc/python-cpio-0.1/TODO

References

Summary

In this tutorial we learn how to install python-cpio.noarch on Amazon Linux 2 using yum.