How to Install and Uninstall python-xhtml2pdf Package on Debian 10 (Buster)

Last updated: November 23,2024

1. Install "python-xhtml2pdf" package

This guide covers the steps necessary to install python-xhtml2pdf on Debian 10 (Buster)

$ sudo apt update $ sudo apt install python-xhtml2pdf

2. Uninstall "python-xhtml2pdf" package

This tutorial shows how to uninstall python-xhtml2pdf on Debian 10 (Buster):

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

3. Information about the python-xhtml2pdf package on Debian 10 (Buster)

Package: python-xhtml2pdf
Source: xhtml2pdf
Version: 0.2.2-2
Installed-Size: 416
Maintainer: Debian Python Modules Team
Architecture: all
Replaces: python-pisa
Provides: python2.7-xhtml2pdf
Depends: python-html5lib, python-httplib2, python-pil, python-pypdf2, python-reportlab, python-six, python:any (<< 2.8), python:any (>= 2.7~)
Conflicts: python-pisa
Description: A library for converting HTML into PDFs using ReportLab (Python 2 module)
Description-md5: 73bf4e0c27de9512458073a29904d439
Homepage: https://github.com/xhtml2pdf/xhtml2pdf
Section: python
Priority: optional
Filename: pool/main/x/xhtml2pdf/python-xhtml2pdf_0.2.2-2_all.deb
Size: 90732
MD5sum: d60e93a47d85eefec662d5814a643470
SHA256: 9fbca7879d30ce41fd619a929f54cf1313a4cc43a0025d36a2368e6b6d2d5fac