pdftotext is a Linux utility to extract text from PDF files. Then you can easily cut the text file into pieces. For best summarization, it's best that the pieces overlap a bit, so that important paragraphs that lie on the boundaries are not lost.
GPT-4 turbo has a context window of 128k tokens, so you can divide every book into a few chunks for initial summarization, then merge the results for the final summary!