How to Install and Uninstall python-lxml Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 17,2024

1. Install "python-lxml" package

This guide covers the steps necessary to install python-lxml on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install python-lxml

2. Uninstall "python-lxml" package

Please follow the instructions below to uninstall python-lxml on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove python-lxml $ sudo apt autoclean && sudo apt autoremove

3. Information about the python-lxml package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: python-lxml
Architecture: amd64
Version: 3.5.0-1ubuntu0.4
Priority: optional
Section: python
Source: lxml
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3055
Provides: python2.7-lxml
Depends: python (>= 2.7), python (<< 2.8), libc6 (>= 2.14), libxml2 (>= 2.9.0), libxslt1.1 (>= 1.1.26)
Recommends: python-bs4, python-html5lib
Suggests: python-lxml-dbg, python-lxml-doc
Filename: pool/main/l/lxml/python-lxml_3.5.0-1ubuntu0.4_amd64.deb
Size: 817956
MD5sum: 673b7f99d2a2dab3d53526bc10af2d8b
SHA1: 8b2a1430d71233da678cb2583f5a40d6265e7f28
SHA256: ad2d1bdc21aebc0682e8d55e468c1d535a5e56cdca01cc5f8ae4b074e968a8f5
SHA512: ebfcd5ef3b53379edf9b4ece11133514da71d6fa9a442afca1f610974ded6c3aeb95628a60d1aca9dcd94341e0a133bb7966baf58d5c4ae1ee31ebfcfdc0e080
Homepage: http://lxml.de/
Description-en: pythonic binding for the libxml2 and libxslt libraries
lxml is a new Python binding for libxml2 and libxslt, completely
independent from existing Python bindings. Its aim:
.
* Pythonic API.
* Documented.
* Use Python unicode strings in API.
* Safe (no segfaults).
* No manual memory management!
.
lxml aims to provide a Pythonic API by following as much as possible
the ElementTree API, trying to avoid inventing too many new APIs,
or the user's having to learn new things -- XML is complicated enough.
Description-md5: e8e2f787207511401ce91418255455e6
Task: ubuntu-usb, edubuntu-desktop-gnome, edubuntu-usb, mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, ubuntustudio-video, ubuntustudio-graphics, ubuntukylin-desktop
Supported: 5y

Package: python-lxml
Priority: optional
Section: python
Installed-Size: 3053
Maintainer: Ubuntu Developers
Original-Maintainer: Matthias Klose
Architecture: amd64
Source: lxml
Version: 3.5.0-1build1
Provides: python2.7-lxml
Depends: python (>= 2.7), python (<< 2.8), libc6 (>= 2.14), libxml2 (>= 2.9.0), libxslt1.1 (>= 1.1.26)
Recommends: python-bs4, python-html5lib
Suggests: python-lxml-dbg, python-lxml-doc
Filename: pool/main/l/lxml/python-lxml_3.5.0-1build1_amd64.deb
Size: 819312
MD5sum: 1145e38398cb074065b661fbc44210ef
SHA1: dd4c5f5a01d14482666ec41db064df9fd3391756
SHA256: 420e0891b0ea77631572a7ef64b36a24bcc72c5ea473ef599e9e7d32906eb2f3
Description-en: pythonic binding for the libxml2 and libxslt libraries
lxml is a new Python binding for libxml2 and libxslt, completely
independent from existing Python bindings. Its aim:
.
* Pythonic API.
* Documented.
* Use Python unicode strings in API.
* Safe (no segfaults).
* No manual memory management!
.
lxml aims to provide a Pythonic API by following as much as possible
the ElementTree API, trying to avoid inventing too many new APIs,
or the user's having to learn new things -- XML is complicated enough.
Description-md5: e8e2f787207511401ce91418255455e6
Homepage: http://lxml.de/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 5y
Task: ubuntu-usb, edubuntu-desktop-gnome, edubuntu-usb, mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, ubuntustudio-video, ubuntustudio-graphics, ubuntukylin-desktop