Free tools Windows power users keep installed
One-click scans. No signup required.
On most Ubuntu systems, install wkhtmltopdf from Ubuntu’s own package archive: run sudo apt update, then sudo apt install wkhtmltopdf, and confirm it with wkhtmltopdf --version. You do not need a special India-specific package: choose a package for your Ubuntu release and CPU architecture.
Install wkhtmltopdf from Ubuntu’s package archive
-
Refresh the package index:
sudo apt update. -
Install the package:
sudo apt install wkhtmltopdf. Review apt’s proposed changes and confirm the installation.As an Amazon Associate I earn from qualifying purchases.
-
Check that the command is available:
wkhtmltopdf --version. The command should print the installed version.Do these 3 things before closing this tab:
1Fix the driver behind crashes, sound loss and screen glitches2Repair Windows errors before they cause bigger problems3Scan for outdated or missing drivers - takes under a minuteSpecial offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Ubuntu’s archive lists wkhtmltopdf for Ubuntu 22.04 and 24.04. The exact version, architecture, dependencies, and availability depend on your release and configured repositories; check those details for your own system rather than assuming every Ubuntu installation receives the same package. The archive package is in Universe for the releases covered here. If apt cannot locate it, check whether the appropriate repository is enabled for your Ubuntu release.
#1 Best Overall
Does installation in India require a different package?
No India-specific build is identified in the project’s download options or Ubuntu package records. Package choice is determined by your Ubuntu codename and CPU architecture, not your country. Ubuntu uses configured archive mirrors to retrieve packages; use the mirror configured on your system, but availability or speed of a particular Indian mirror is not established here.
Choose between Ubuntu’s package and an upstream release package
| Route | When it may fit | What to check |
|---|---|---|
| Ubuntu archive package | A straightforward installation managed by apt. Ubuntu records the package for 22.04 and 24.04. | Confirm the package is available for your exact release and architecture, and note the version apt proposes. |
| Upstream release package | You need a listed upstream build, such as the stable 0.12.6 series, and its release/architecture match your system. | Match the Ubuntu codename and CPU architecture exactly. The upstream downloads page lists builds for Ubuntu 22.04 (jammy), 20.04 (focal), and 18.04 (bionic); supported architectures differ by release. |
These are separate packaging routes, and a package built for one Ubuntu release should not be assumed to work on another. The Ubuntu archive records Jammy’s source package as 0.12.6-2 and Noble’s package as 0.12.6-2build2; those package identifiers describe the archive builds, not a guarantee that they suit a different release or architecture. See the wkhtmltopdf downloads page and Ubuntu’s package records for Jammy and Noble.
Install a matching upstream .deb manually
-
Find your Ubuntu codename and architecture. You can check the release with
. /etc/os-release && echo "$VERSION_CODENAME"and the machine architecture withdpkg --print-architecture.The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy. -
On the upstream downloads page, select a package explicitly matching both. The listed Ubuntu builds cover jammy, focal, and bionic; do not infer support for a different release from a similar name.
-
Install the downloaded local package with apt, which can resolve available dependencies:
sudo apt install ./wkhtmltox_*.deb. Replace the pattern with the actual downloaded filename if needed. -
Verify the executable with
wkhtmltopdf --version.
If apt reports unmet dependencies or an incompatible package, stop rather than forcing installation across releases. The upstream guidance notes that a package can sometimes be extracted when it cannot be installed, but extraction does not supply missing dependencies and is not a routine compatibility fix. Consult the upstream installation guidance and use a build suitable for your system.
Rank #3
Use wkhtmltopdf to create a PDF
Once installed, a basic conversion takes an input URL and an output filename:
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchPC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11wkhtmltopdf https://example.com page.pdf
For a local HTML file, pass its path and a destination, for example wkhtmltopdf ./page.html ./page.pdf. The conversion depends on the installed build and the HTML content; this basic command does not establish that every modern site or script-heavy page will render identically.
Security warning for server-side use
The wkhtmltopdf project warns: “Do not use wkhtmltopdf with any untrusted HTML – be sure to sanitize any user-supplied HTML/JS, otherwise it can lead to complete takeover of the server you are running it on!” If your application converts user-submitted content, sanitize it and do not treat the converter as safe for arbitrary HTML or JavaScript. Read the project’s official guidance.
Rank #4
Or skip the browser setup
If your actual goal is to capture a webpage as an image or PDF through an API, ScreenshotNeo offers a one-request alternative. It is not a wkhtmltopdf package or a drop-in local command-line converter.
cURL example, using the API’s documented endpoint and a page URL:
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp
Best Value
See the ScreenshotNeo API documentation for parameters and output options. It removes cookie banners, newsletter popups, and chat widgets before capture; bot checks, blank pages, and failed loads are not billed; and its MCP server lets AI agents take screenshots. The free plan includes 1,000 screenshots a month with no card, and paid plans start at $5 for 3,000. Sign up for 1,000 free screenshots a month, with no card required.
Frequently Asked Questions
Which Ubuntu versions have package records cited here?
The Ubuntu archive records wkhtmltopdf for Ubuntu 22.04 and 24.04. Check the package availability and architecture for your exact release.
Can I install an upstream package built for Ubuntu 20.04 on Ubuntu 24.04?
Do not assume it is compatible. Match the package to your Ubuntu codename and CPU architecture; a different-release package may fail to install or lack compatible dependencies.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




