How to Install and Uninstall python-lxml.x86_64 Package on Amazon Linux 2

Last updated: May 05,2024

1. Install "python-lxml.x86_64" package

This is a short guide on how to install python-lxml.x86_64 on Amazon Linux 2

$ sudo yum makecache $ sudo yum install python-lxml.x86_64

2. Uninstall "python-lxml.x86_64" package

Please follow the guidance below to uninstall python-lxml.x86_64 on Amazon Linux 2:

$ sudo yum remove python-lxml.x86_64 $ sudo yum autoremove

3. Information about the python-lxml.x86_64 package on Amazon Linux 2

Loaded plugins: ovl, priorities
Available Packages
Name : python-lxml
Arch : x86_64
Version : 3.2.1
Release : 4.amzn2.0.3
Size : 1.0 M
Repo : amzn2-core/2/x86_64
Summary : ElementTree-like Python bindings for libxml2 and libxslt
URL : http://lxml.de
License : BSD
Description : lxml provides a Python binding to the libxslt and libxml2
: libraries. It follows the ElementTree API as much as possible in
: order to provide a more Pythonic interface to libxml2 and libxslt
: than the default bindings. In particular, lxml deals with Python
: Unicode strings rather than encoded UTF-8 and handles memory
: management automatically, unlike the default bindings.