How To Install wkhtmltopdf on Fedora 36

In this tutorial we learn how to install wkhtmltopdf in Fedora 36. wkhtmltopdf is Simple shell utility to convert html to pdf

Introduction

In this tutorial we learn how to install wkhtmltopdf on Fedora 36.

What is wkhtmltopdf

Simple shell utility to convert html to pdf using the webkit rendering engine, and qt.

We can use yum or dnf to install wkhtmltopdf on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install wkhtmltopdf.

Install wkhtmltopdf on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install wkhtmltopdf using dnf by running the following command:

sudo dnf -y install wkhtmltopdf

Install wkhtmltopdf on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install wkhtmltopdf using yum by running the following command:

sudo yum -y install wkhtmltopdf

How To Uninstall wkhtmltopdf on Fedora 36

To uninstall only the wkhtmltopdf package we can use the following command:

sudo dnf remove wkhtmltopdf

wkhtmltopdf Package Contents on Fedora 36

---
/usr/bin/wkhtmltoimage
/usr/bin/wkhtmltopdf
/usr/lib/.build-id
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/202da5eb3b3fdfd6f586a61e0fabf71c629b01
/usr/lib/.build-id/92
/usr/lib/.build-id/92/279e5387f15281188043214655d2682e65fd31
/usr/lib/.build-id/96
/usr/lib/.build-id/96/b7137a3bf205a158e1fe2324d585da9f98f206
/usr/lib64/libwkhtmltox.so.0
/usr/lib64/libwkhtmltox.so.0.12
/usr/lib64/libwkhtmltox.so.0.12.6
/usr/share/doc/wkhtmltopdf
/usr/share/doc/wkhtmltopdf/AUTHORS
/usr/share/doc/wkhtmltopdf/CHANGELOG-OLD
/usr/share/doc/wkhtmltopdf/CHANGELOG.md
/usr/share/doc/wkhtmltopdf/README.md
/usr/share/licenses/wkhtmltopdf
/usr/share/licenses/wkhtmltopdf/LICENSE
/usr/share/man/man1/wkhtmltoimage.1.gz
/usr/share/man/man1/wkhtmltopdf.1.gz
title: "How To Install wkhtmltopdf on Fedora 36"
linkTitle: "wkhtmltopdf"
type: "docs"
description: "In this tutorial we learn how to install wkhtmltopdf in Fedora 36. wkhtmltopdf is Simple shell utility to convert html to pdf"
date: "2022-08-17"

lastmod: “2022-08-17”

References

#image: /images/fedora/36/wkhtmltopdf-featured.png


Introduction

Summary

In this tutorial we learn how to install wkhtmltopdf on Fedora 36.

In this tutorial we learn how to install wkhtmltopdf on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).

What is wkhtmltopdf

Simple shell utility to convert html to pdf using the webkit rendering engine, and qt.

We can use yum or dnf to install wkhtmltopdf on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install wkhtmltopdf.

Install wkhtmltopdf on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install wkhtmltopdf using dnf by running the following command:

sudo dnf -y install wkhtmltopdf

Install wkhtmltopdf on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install wkhtmltopdf using yum by running the following command:

sudo yum -y install wkhtmltopdf

How To Uninstall wkhtmltopdf on Fedora 36

To uninstall only the wkhtmltopdf package we can use the following command:

sudo dnf remove wkhtmltopdf

wkhtmltopdf Package Contents on Fedora 36

/usr/bin/wkhtmltoimage
/usr/bin/wkhtmltopdf
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/206c5118d9f79caaca4c572c5a1e930419234a
/usr/lib/.build-id/69
/usr/lib/.build-id/69/96c153d1e4f7708573b86063982b83829e12c5
/usr/lib/.build-id/7b
/usr/lib/.build-id/7b/f4bff8a3c4657fc6ffe441ad10efc2d5df5a0f
/usr/lib/libwkhtmltox.so.0
/usr/lib/libwkhtmltox.so.0.12
/usr/lib/libwkhtmltox.so.0.12.6
/usr/share/doc/wkhtmltopdf
/usr/share/doc/wkhtmltopdf/AUTHORS
/usr/share/doc/wkhtmltopdf/CHANGELOG-OLD
/usr/share/doc/wkhtmltopdf/CHANGELOG.md
/usr/share/doc/wkhtmltopdf/README.md
/usr/share/licenses/wkhtmltopdf
/usr/share/licenses/wkhtmltopdf/LICENSE
/usr/share/man/man1/wkhtmltoimage.1.gz
/usr/share/man/man1/wkhtmltopdf.1.gz

References

Summary

In this tutorial we learn how to install wkhtmltopdf on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).