Produce PDF with 2 pages per sheet from a PDF with 1 page per sheet from the cli
I am looking for a cli utility that can produce a PDF with 2 pages per sheet from a PDF with 1 page per sheet; something like that:
$ pdfjam input.pdf -o output.pdf --nup 2x1 --landscape
None of the utilities commonly mentioned on the web seem to be available in our repository: pdfjam, pdfnup, pdfpun, psnup, pdfbook.
$ apt list pdfjam pdfnup pdfpun psnup pdfbook
Listing... Done
I looked at the man pages and help output of qpdf and pdftk (which we can download from the repository) but they don't seem to have a straightforward option to produce a PDF with 2 pages per sheet from a PDF with 1 page per sheet.
Finally, I found boomaga. It does the job but it requires usage of a GUI.
Do you know of a cli utility which can produce a PDF with 2 pages per sheet from a PDF with 1 page per sheet?