How To Install libxslt-python.x86_64 on Amazon Linux 2
Introduction
In this tutorial we learn how to install libxslt-python.x86_64 on Amazon Linux 2.
What is libxslt-python.x86_64
The libxslt-python package contains a module that permits applications written in the Python programming language to use the interface supplied by the libxslt library to apply XSLT transformations. This library allows to parse sytlesheets, uses the libxml2-python to load and save XML and HTML files. Direct access to XPath and the XSLT transformation context are possible to extend the XSLT language with XPath functions written in Python.
We can use yum to install libxslt-python.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install libxslt-python.x86_64.
Install libxslt-python.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 libxslt-python.x86_64 using yum by running the following command:
sudo yum -y install libxslt-python.x86_64
How To Uninstall libxslt-python.x86_64 on Amazon Linux 2
To uninstall only the libxslt-python.x86_64 package we can use the following command:
sudo yum remove libxslt-python.x86_64
libxslt-python.x86_64 Package Contents on Amazon Linux 2
/usr/lib64/python2.7/site-packages/libxslt.py
/usr/lib64/python2.7/site-packages/libxslt.pyc
/usr/lib64/python2.7/site-packages/libxslt.pyo
/usr/lib64/python2.7/site-packages/libxsltmod.so
/usr/share/doc/libxslt-python-1.1.28
/usr/share/doc/libxslt-python-1.1.28/TODO
/usr/share/doc/libxslt-python-1.1.28/basic.py
/usr/share/doc/libxslt-python-1.1.28/examples
/usr/share/doc/libxslt-python-1.1.28/examples/basic.py
/usr/share/doc/libxslt-python-1.1.28/examples/basic.pyc
/usr/share/doc/libxslt-python-1.1.28/examples/basic.pyo
/usr/share/doc/libxslt-python-1.1.28/examples/exslt.py
/usr/share/doc/libxslt-python-1.1.28/examples/exslt.pyc
/usr/share/doc/libxslt-python-1.1.28/examples/exslt.pyo
/usr/share/doc/libxslt-python-1.1.28/examples/extelem.py
/usr/share/doc/libxslt-python-1.1.28/examples/extelem.pyc
/usr/share/doc/libxslt-python-1.1.28/examples/extelem.pyo
/usr/share/doc/libxslt-python-1.1.28/examples/extfunc.py
/usr/share/doc/libxslt-python-1.1.28/examples/extfunc.pyc
/usr/share/doc/libxslt-python-1.1.28/examples/extfunc.pyo
/usr/share/doc/libxslt-python-1.1.28/examples/pyxsltproc.py
/usr/share/doc/libxslt-python-1.1.28/examples/pyxsltproc.pyc
/usr/share/doc/libxslt-python-1.1.28/examples/pyxsltproc.pyo
/usr/share/doc/libxslt-python-1.1.28/examples/test.xml
/usr/share/doc/libxslt-python-1.1.28/examples/test.xsl
/usr/share/doc/libxslt-python-1.1.28/exslt.py
/usr/share/doc/libxslt-python-1.1.28/extelem.py
/usr/share/doc/libxslt-python-1.1.28/extfunc.py
/usr/share/doc/libxslt-python-1.1.28/libxsltclass.txt
/usr/share/doc/libxslt-python-1.1.28/pyxsltproc.py
/usr/share/doc/libxslt-python-1.1.28/test.xml
/usr/share/doc/libxslt-python-1.1.28/test.xsl
References
Summary
In this tutorial we learn how to install libxslt-python.x86_64 on Amazon Linux 2 using yum.