Introduction
The qpdf is an open-source command-line tool and C++ library for working with PDF files. It offers a wide range of functionalities for manipulating, inspecting, and transforming PDFs, making it a valuable tool for developers, system administrators, and advanced users.
Removing the password
To remove the password from a PDF file in the Linux terminal, use the command:
$ bash
qpdf --decrypt --password=YOUR_PASSWORD protected_file.pdf unprotected_file.pdf
Replace YOUR_PASSWORD with the PDF's password, protected_file.pdf with the name of the protected PDF file, and unprotected_file.pdf with the name you want for the password-free file.