How To Install python3-lxml-dbg on Ubuntu 20.04

In this tutorial we learn how to install python3-lxml-dbg on Ubuntu 20.04. python3-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 python3-lxml-dbg on Ubuntu 20.04.

What is python3-lxml-dbg

python3-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 Python3 debug interpreter. Build-Ids: 03763637ec3e5ac78ba28dff56a4184d7bd62f6f 4dfbe9e04cf4dfb9bb53c23c1536ae2af42de047 71bc8d4694ff026d6faceee2097c4555a020e57c 8c73ef2f577f01088241ab35d1a84c04aa45225e 8eef6daf712efeb21b54113498913025970b2b20 9bb331e1ecf52be69b5bb5da06209fa15d256c77 da688c9c1cf46415cba1dc1f773cdb57ab6425d6

Package: python3-lxml-dbg Architecture: amd64 Version: 4.5.0-1 Multi-Arch: same Priority: extra Section: debug Source: lxml Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Matthias Klose [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 30677 Provides: python3.8-lxml-dbg Depends: python3-lxml (= 4.5.0-1), python3-dbg, libc6 (>= 2.14), libxml2 (>= 2.9.0), libxslt1.1 (>= 1.1.26) Filename: pool/main/l/lxml/python3-lxml-dbg_4.5.0-1_amd64.deb Size: 11955288 MD5sum: a37854247e2a2d7f69008249ecb48825 SHA1: 97ca28432e2f0da8435a9d2d9e845acbccd091d0 SHA256: cc20aa536f58825d281785f5f83eb026ac394332ed9c7f3bc8981cbc62a1cd72 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 Python3 debug interpreter. Build-Ids: 016127be52a6182b9da4c929471378d6d00a14a6 1af90f565d7fb2f69dae702e6cd8e2c79e6e77c6 227196a4b972c43ffbdbb9513cfb180a309dd6a4 3d05854038175a586d1b35555b4dfd066912667e 4a6395bcfaa958e910720556c13beff59dababfd 7a29905a1373b6bcea0a598e130d424073ee856f 8af5b28d93713c14a8667c8b71077bc95b86c640

There are three methods to install python3-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 python3-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 python3-lxml-dbg using apt-get by running the following command:

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

Install python3-lxml-dbg Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install python3-lxml-dbg

Install python3-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 python3-lxml-dbg using aptitude by running the following command:

sudo aptitude -y install python3-lxml-dbg

How To Uninstall python3-lxml-dbg on Ubuntu 20.04

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

sudo apt-get remove python3-lxml-dbg

Uninstall python3-lxml-dbg And Its Dependencies

To uninstall python3-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 python3-lxml-dbg

Remove python3-lxml-dbg Configurations and Data

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

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

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

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

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

References

Summary

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