Sometimes you just want a simple way to extract pages from a PDF. Opening up a GUI is overkill for this task. The Linux command line is here to help with a utility called ‘pdftk’. On Debian or Ubuntu based distributions, one can usually install this opening up a new terminal window and typing:
sudo apt-get install pdftk -y
Now to extract pages from the PDF:
pdftk {myPdfFile} cat {startPageNumber}-{endPageNumber} output {outputPdfFileName}
That’s it!