How To Install python-lxml-dbg on Ubuntu 20.04

In this tutorial we learn how to install python-lxml-dbg on Ubuntu 20.04. python-lxml-dbg is pythonic binding for the libxml2 and libxslt libraries (debug extension) pythonic binding for the libxml2 and libxslt libraries (debug extension)

Introduction

In this tutorial we learn how to install python-lxml-dbg on Ubuntu 20.04.

What is python-lxml-dbg

python-lxml-dbg is:

lxml is a new Python binding for libxml2 and libxslt, completely independent from existing Python bindings.

This package contains the extension built for the Python debug interpreter. Build-Ids: 3b2ac27e6c49422d94f21fed214a46c3eb278ac1 6b59056a08aa51a96fde40441770eacec4ca4e44 8cfdcbf77175cf7b38da0477b67fc3f2fd615deb a1a1663da92d1dee5b8a73a20886cbaa5d132c90 b4cc4cf6e3f90fa1300b3315e9abadc7a23af1c1 defe10f744d030e26d3bea102013916dd13381bb e7b158ab7d20c044026aa24b62953bdc6da40807

Package: python-lxml-dbg Architecture: amd64 Version: 4.5.0-1 Multi-Arch: same Priority: extra Section: universe/python Source: lxml Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Matthias Klose [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 11679 Depends: python-lxml (= 4.5.0-1), python2-dbg, libc6 (>= 2.14), libxml2 (>= 2.9.0), libxslt1.1 (>= 1.1.26) Filename: pool/universe/l/lxml/python-lxml-dbg_4.5.0-1_amd64.deb Size: 2921540 MD5sum: d5ab8b8cd0b0454323c97a2a0106c435 SHA1: e3796cf25733d1be3c81527404a9b749e6e5741f SHA256: 8af9575ab98fda69051d9c66ee4bd23efde64262de8b8a35a644447ee36b2c19 Homepage: http://lxml.de/ Description-en: pythonic binding for the libxml2 and libxslt libraries (debug extension) lxml is a new Python binding for libxml2 and libxslt, completely independent from existing Python bindings.

This package contains the extension built for the Python debug interpreter. Build-Ids: 34b62e1bfedd9cbaa0479921a5d247998025f2e8 5c157a896df96512596aa37d9c31a3f0f83bb438 716bca6d2a956dc7d7a2163f673d0ed3158b1823 a38ebc8fe7400ef2753334527d25d72a8271fd35 dea22a450fe43a5d7ba45cc1a398d28fbc60088e ebb6d2b4a7253bd79bca4c2b95c858ed5d3ef7fa efa0302e2f75009ed17d0fdd9bae995563b14ed2

There are three methods to install python-lxml-dbg on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install python-lxml-dbg Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install python-lxml-dbg using apt-get by running the following command:

sudo apt-get -y install python-lxml-dbg

Install python-lxml-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install python-lxml-dbg using apt by running the following command:

sudo apt -y install python-lxml-dbg

Install python-lxml-dbg Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install python-lxml-dbg using aptitude by running the following command:

sudo aptitude -y install python-lxml-dbg

How To Uninstall python-lxml-dbg on Ubuntu 20.04

To uninstall only the python-lxml-dbg package we can use the following command:

sudo apt-get remove python-lxml-dbg

Uninstall python-lxml-dbg And Its Dependencies

To uninstall python-lxml-dbg and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove python-lxml-dbg

Remove python-lxml-dbg Configurations and Data

To remove python-lxml-dbg configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge python-lxml-dbg

Remove python-lxml-dbg configuration, data, and all of its dependencies

We can use the following command to remove python-lxml-dbg configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge python-lxml-dbg

References

Summary

In this tutorial we learn how to install python-lxml-dbg package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.