$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Convert Pdf to Text on Debian Bookworm – Step-by-step

January 25, 2025 | By the+gnu+linux+evangelist.

GNU/Linux Debian Bookworm Converting Pdf to Text – Quick-Start Guide

Hi! The Tutorial shows you Step-by-Step How to Convert PDF to Text in Debian Bookworm 12 GNU/Linux Command Line.

And this guide make use of Poppler is a PDF rendering library based on the xpdf-3.0 code base.

This Poppler Utils Software contains command line utilities (based on Poppler) for getting information of PDF documents, convert them to other formats, or manipulate them:

  • pdfdetach — lists or extracts embedded files (attachments)
  • pdffonts — font analyzer
  • pdfimages — image extractor
  • pdfinfo — document information
  • pdfseparate — page extraction tool
  • pdfsig — verifies digital signatures
  • pdftocairo — PDF to PNG/JPEG/PDF/PS/EPS/SVG converter using Cairo
  • pdftohtml — PDF to HTML converter
  • pdftoppm — PDF to PPM/PNG/JPEG image converter
  • pdftops — PDF to PostScript (PS) converter
  • pdftotext — text extraction
  • pdfunite — document merging tool
How to Convert Pdf to Text on Debian Bookworm – Step-by-step
  1. 1. Terminal Getting-Started Guide

    How to Quick-Start with Command Line on Debian GNU/Linux

    Console Debian Linux QuickStart Guide

    First Update the Apt Repo Sources with:

    sudo apt update
    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.
  2. 2. Converting PDF to Text

    Then to Convert PDF to Text in Debian
    First, install the tool with:

    sudo apt install proppler-utils
    And then simply run:
    pdftotext -layout ./the-idiot.pdf the-idiot.txt
    Amend the above command as needed.