Install wkhtmltopdf & wkhtmltoimage on CentOS 9|8

Install wkhtmltopdf & wkhtmltoimage on CentOS 9|8

To install wkhtmltopdf and wkhtmltoimage on centOS 9|8; simply download wkhtmlpdf using wget and then run sudo dnf localinstall wkhtmltox-0.12.6-1.centos8.x86_64.rpm command on the terminal or command line to install it.

According to https://wkhtmltopdf.org/ :- wkhtmltopdf and wkhtmltoimage are open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the Qt WebKit rendering engine. These run entirely “headless” and do not require a display or display service.

How to Install wkhtmltopdf & wkhtmltoimage on CentOS 9|8

Steps to install wkhtmltopdf rpm & wkhtmltoimage on CentOS 9|8:

Step 1 – Install wget

Start terminal or command line and run sudo yum -y install wget command into it to install wget:

sudo yum -y install wget

Step 2 – Download wkhtmltopdf on CentOS 8

To download for installation wkhtmltopdf and wkhtmltoimage on centOS 9|8; just type wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox-0.12.6-1.centos8.x86_64.rpm on terminal window and press enter:

wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox-0.12.6-1.centos8.x86_64.rpm

Step 3 – Install wkhtmltopdf using rpm

To install wkhtmltopdf and wkhtmltoimage using rpm; simply type the sudo dnf localinstall wkhtmltox-0.12.6-1.centos8.x86_64.rpm on terminal window and press enter:

sudo dnf localinstall wkhtmltox-0.12.6-1.centos8.x86_64.rpm

Once the dependencies are installed, you have completed the installation of wkhtmltopdf into our centOS.

Conclusion

Through this tutorial, we have learned how to install wkhtmltopdf and wkhtmltoimage on centOS 9|8 system.

Recommended CentOS Tutorials

AuthorAdmin

Greetings, I'm Devendra Dode, a full-stack developer, entrepreneur, and the proud owner of Tutsmake.com. My passion lies in crafting informative tutorials and offering valuable tips to assist fellow developers on their coding journey. Within my content, I cover a spectrum of technologies, including PHP, Python, JavaScript, jQuery, Laravel, Livewire, CodeIgniter, Node.js, Express.js, Vue.js, Angular.js, React.js, MySQL, MongoDB, REST APIs, Windows, XAMPP, Linux, Ubuntu, Amazon AWS, Composer, SEO, WordPress, SSL, and Bootstrap. Whether you're starting out or looking for advanced examples, I provide step-by-step guides and practical demonstrations to make your learning experience seamless. Let's explore the diverse realms of coding together.

Leave a Reply

Your email address will not be published. Required fields are marked *