PDFTK is a tool that can be used to split and merge PDF files. It is available for both Linux and Windows.
PDFTK installer for Windows can be downloaded here. After PDFTK is installed, ensure that the directory of
pdftk.exe is in the
PATH environment variable.
For Ubuntu versions starting from 18.04 and newer versions, use Snap to install PDFTK:
$ sudo snap install pdftk
For Ubuntu versions 16.04 and older versions, use Apt to install PDFTK:
$ sudo apt install pdftk
If your installation is successful, you should be able to run
pdftk from the shell.