How to Install and Uninstall php-dompdf Package on Ubuntu 21.10 (Impish Indri)

Last updated: January 10,2025

1. Install "php-dompdf" package

This is a short guide on how to install php-dompdf on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-dompdf

2. Uninstall "php-dompdf" package

Please follow the guidelines below to uninstall php-dompdf on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove php-dompdf $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-dompdf package on Ubuntu 21.10 (Impish Indri)

Package: php-dompdf
Architecture: all
Version: 0.6.2+dfsg-3.1
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 3240
Depends: fonts-dejavu, php | php-cli, php-gd, sdop, php-common, php-font-lib (>= 0.2), php-font-lib (<< 1~~)
Suggests: php-tcpdf, php-apcu, php-cli
Filename: pool/universe/p/php-dompdf/php-dompdf_0.6.2+dfsg-3.1_all.deb
Size: 772912
MD5sum: 44767dbf4654fdf1d19c0e592574c43f
SHA1: e542ea18813c2876352e568bbfa7e5175f804d02
SHA256: eabd25569208013e513f0ce43ce19b42d1588e82c1324f7fbdb644f3e385da8d
SHA512: 9134be99f32d13fddbc1c44fd12ac2bccce9c31e46627395c4d192a406cb20344b721f5c5a526683e5360641d4529f62f915cce98e9e39817fa30201ce52c895
Homepage: http://dompdf.github.io/
Description-en: HTML to PDF converter
DOMPDF is a CSS 2.1 compliant HTML to PDF converter. It:
* handles most CSS 2.1 and a few CSS3 properties, including @import,
@media & @page rules
* supports most presentational HTML 4.0 attributes
* supports external stylesheets, either local or through HTTP/FTP
(via fopen-wrappers)
* supports complex tables, including row and column spans, separate
and collapsed border models, individual cell styling
* supports images: GIF, PNG (8-, 24- and 32-bit with alpha channel),
BMP, and JPEG
* supports inline PHP
Description-md5: 6821839ce3055066660c3e648448f666