How to Install and Uninstall python-xhtml2pdf Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: May 16,2024

1. Install "python-xhtml2pdf" package

Please follow the instructions below to install python-xhtml2pdf on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install python-xhtml2pdf

2. Uninstall "python-xhtml2pdf" package

Please follow the step by step instructions below to uninstall python-xhtml2pdf on Ubuntu 18.04 LTS (Bionic Beaver):

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

3. Information about the python-xhtml2pdf package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: python-xhtml2pdf
Architecture: all
Version: 0.2.1-1
Priority: optional
Section: universe/python
Source: xhtml2pdf
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Python Modules Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 627
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.5-5~)
Conflicts: python-pisa
Replaces: python-pisa
Filename: pool/universe/x/xhtml2pdf/python-xhtml2pdf_0.2.1-1_all.deb
Size: 198656
MD5sum: 554d8b84df025f31242afa2e54fc2630
SHA1: ab8d5d703413d5232a179d0a1617d7266e748bca
SHA256: 4708c2a1bcfdb7af6b1a5d9d27231cee52aef108a4e2c2dd7592a4c5a01589a0
Homepage: https://github.com/xhtml2pdf/xhtml2pdf
Description: A library for converting HTML into PDFs using ReportLab (Python 2 module)
Description-md5: 73bf4e0c27de9512458073a29904d439