How to Install and Uninstall wkhtmltopdf Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: April 20,2024

1. Install "wkhtmltopdf" package

This guide covers the steps necessary to install wkhtmltopdf on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install wkhtmltopdf

2. Uninstall "wkhtmltopdf" package

In this section, we are going to explain the necessary steps to uninstall wkhtmltopdf on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove wkhtmltopdf $ sudo apt autoclean && sudo apt autoremove

3. Information about the wkhtmltopdf package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: wkhtmltopdf
Architecture: amd64
Version: 0.12.4-1
Priority: extra
Section: universe/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Emmanuel Bouthenot
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 951
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libqt5core5a (>= 5.9.0~beta), libqt5gui5 (>= 5.2.0), libqt5network5 (>= 5.0.2), libqt5printsupport5 (>= 5.2.0), libqt5svg5 (>= 5.6.0~beta), libqt5webkit5 (>= 5.6.0~rc), libqt5widgets5 (>= 5.0.2), libstdc++6 (>= 5)
Recommends: xserver | xvfb
Filename: pool/universe/w/wkhtmltopdf/wkhtmltopdf_0.12.4-1_amd64.deb
Size: 181076
MD5sum: a60976ee943aea0791cedee29bfbe6bd
SHA1: b5dceb574d98fa9a118e057ef56f767177594baa
SHA256: 8dcc76263579a4dc3ea128fc5d4a2f24f443b2157b9d82c47ca15554ef7df5a6
Homepage: https://wkhtmltopdf.org/
Description: Command line utilities to convert html to pdf or image using WebKit
Description-md5: 947a2346cc860a8c65c6fbf1e104a122