How to Install and Uninstall python3-xhtml2pdf Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: December 23,2024

1. Install "python3-xhtml2pdf" package

In this section, we are going to explain the necessary steps to install python3-xhtml2pdf on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install python3-xhtml2pdf

2. Uninstall "python3-xhtml2pdf" package

This is a short guide on how to uninstall python3-xhtml2pdf on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the python3-xhtml2pdf package on Ubuntu 20.10 (Groovy Gorilla)

Package: python3-xhtml2pdf
Architecture: all
Version: 0.2.4-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: 636
Depends: python3-html5lib (>= 1.0), python3-pil, python3-pypdf2 (>= 1.26), python3-reportlab (>= 3.0), python3-six, python3:any
Filename: pool/universe/x/xhtml2pdf/python3-xhtml2pdf_0.2.4-1_all.deb
Size: 198384
MD5sum: 12fdf756501398752d0a27e60df2c6aa
SHA1: b8eb27cb0831665b72036c2102a51d155728caa3
SHA256: ae7c09dc9c48dc514e402e765ce30038abbf2048fe7780ddbbca9ee484041840
SHA512: 9857638c3532b98b7151e28ea2baca71a96509daaddacf8e010537c852b5d7cb769277cb21a782cc2df6ba73a8c861b18863421823809ac3ce64e2c0764a159e
Homepage: https://github.com/xhtml2pdf/xhtml2pdf
Description-en: A library for converting HTML into PDFs using ReportLab (Python 3 module)
xhtml2pdf is a html2pdf converter using the ReportLab Toolkit, the
HTML5lib and pyPdf. It supports HTML 5 and CSS 2.1 (and some of CSS
3). It is completely written in pure Python so it is platform
independent.
.
The main benefit of this tool that a user with Web skills like HTML
and CSS is able to generate PDF templates very quickly without
learning new technologies.
.
xhtml2pdf was previously developed as "pisa".
.
This package installs the library for Python 3.
Description-md5: 144831ae4f6247600dbcfdcaa66e1f64