How To Install python-cups.x86_64 on Amazon Linux 2
In this tutorial we learn how to install python-cups.x86_64 in Amazon Linux 2. python-cups.x86_64 is Python bindings for CUPS
Introduction
In this tutorial we learn how to install python-cups.x86_64 on Amazon Linux 2.
What is python-cups.x86_64
This package provides Python bindings for the CUPS API, known as pycups. It was written for use with system-config-printer, but can be put to other uses as well.
We can use yum to install python-cups.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install python-cups.x86_64.
Install python-cups.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 python-cups.x86_64 using yum by running the following command:
sudo yum -y install python-cups.x86_64
How To Uninstall python-cups.x86_64 on Amazon Linux 2
To uninstall only the python-cups.x86_64 package we can use the following command:
sudo yum remove python-cups.x86_64
python-cups.x86_64 Package Contents on Amazon Linux 2
/usr/lib/rpm/fileattrs/psdriver.attr
/usr/lib/rpm/postscriptdriver.prov
/usr/lib64/python2.7/site-packages/cups.so
/usr/lib64/python2.7/site-packages/pycups-1.9.63-py2.7.egg-info
/usr/share/doc/python-cups-1.9.63
/usr/share/doc/python-cups-1.9.63/COPYING
/usr/share/doc/python-cups-1.9.63/ChangeLog
/usr/share/doc/python-cups-1.9.63/NEWS
/usr/share/doc/python-cups-1.9.63/README
/usr/share/doc/python-cups-1.9.63/TODO
References
Summary
In this tutorial we learn how to install python-cups.x86_64 on Amazon Linux 2 using yum.