Close Menu
Rob FaulsRob Fauls
    What's Hot

    Odoo 17- Change default email address

    March 10, 2024

    Odoo 17- Automated Install on Debian 12

    December 26, 2023

    Odoo 17- Manual Install on Debian 10/Debian 11/Debian 12

    November 8, 2023
    Facebook X (Twitter) LinkedIn
    • Home
    • VMware
      • Storage
    • Odoo
    • Linux
    • About
      • About Me
      • Privacy Policy
    Rob FaulsRob Fauls
    Home ยป Install wkhtmltopdf on Debian11
    Linux

    Install wkhtmltopdf on Debian11

    Rob FaulsBy Rob FaulsOctober 27, 2022Updated:November 7, 20224 Comments
    Facebook Twitter LinkedIn Email Reddit Telegram
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Wkhtmltopdf is a command line tool used to convert HTML to PDF format. In this article, I will cover how to download the latest .deb package, install prerequisites, and install wkhtmltopdf.

    This was written to pair with our Odoo 16- Install on Debian 10/Debian 11 guide. I am not covering usage of wkhtmltopdf within this article. If you’d like more information on wkhtmltopdf, please leave a comment and I’d be happy to provide more information/usage instructions.

    1: Install prerequisites:

    Install wget (if not already installed):

    # sudo apt update
    # sudo apt install wget

    2: Install wkhtmltopdf on Debian 11

    The links below contain the latest releases as of 10/25/2022. Please double check GitHub for the latest available release: https://github.com/wkhtmltopdf/packaging/releases/latest

    # wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.bullseye_amd64.deb
    # sudo apt install ./wkhtmltox*bullseye_amd64.deb

    Check that the version installed is what you were expecting:

    # wkhtmltopdf --version
    wkhtmltopdf 0.12.6.1 (with patched qt)
    

    3: Success!!!

    This was a quick and easy guide. At some point, I’ll script out an auto-installer that will grab the latest current release from GitHub, but today is not that day. Please leave a comment if you think I’ve missed anything.

    wkhtmltopdf Debian11 install
    Previous ArticleOdoo 16- Manual Install on Debian 10/Debian 11/Debian 12
    Next Article Odoo 16- Automated Install on Debian 11

    Related Posts

    Migrate from Github to Gitea

    September 21, 2023

    Upgrade Debian 11 to Debian 12

    August 17, 2023

    Benchmark persistent disk performance on Linux

    August 17, 2023

    Install wkhtmltopdf on Debian12

    June 16, 2023

    4 Comments

    1. Gabriele Dini Ciacci on July 20, 2023 2:52 pm

      Just to let you know that this was really useful ๐Ÿ™‚

      Reply
      • Rob on July 20, 2023 4:56 pm

        Thank you! I’m glad it was useful. If there’s ever anything you would like to see added to the site, feel free to reach out to me on LinkedIn. If I get enough requests, I’ll likely build in a portal for people to request content, but for now, the volume is pretty low and I can manage through there.

        Best of luck to you!

        Reply
    2. Valentierra on January 30, 2024 9:36 pm

      Thanks for the tutorial.

      Just one question:

      After installing and trying to see the wkhtmltopdf version installed, it tries to look for the binary at /usr/bin/wkhtmltopdf but it was installed at /usr/local/bin/wkhtmltopdf

      How could I correct the binary location?

      Reply
      • Rob Fauls on February 6, 2024 4:38 pm

        Hi Valentierra,
        Sorry for the delay. I didn’t see the email notifying me of your message. Could you please elaborate? What command are you running and what is the output? The installation of WKHTMLtoPDF is tuned for use by Odoo and tested working. You should not need to change any settings, but maybe something broke on your install?

        Reply
    Leave A Reply Cancel Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Editors Picks
    Latest Posts

    Odoo 17- Change default email address

    March 10, 2024

    Odoo 17- Automated Install on Debian 12

    December 26, 2023

    Odoo 17- Manual Install on Debian 10/Debian 11/Debian 12

    November 8, 2023

    Subscribe to Updates

    Get the latest content from Rob.

    I've worked in IT for over 20 years, servicing Government, Healthcare, and Private Sector customers. This is a relatively new adventure into blogging, mostly out of a realization that I need to organize some of my notes on various subjects. Hopefully the articles posted will help others along the way.

    You can connect with me here:

    LinkedIn X (Twitter) Facebook

    Subscribe to Updates

    Keep up to date with new articles posted about 'stuff and things'.

    © 2025 Rob Fauls. Hosted by Flatiron Networks.
    • Home

    Type above and press Enter to search. Press Esc to cancel.