jfbview is an excellent program to view pdf files on the commandline. The author, Chuan Ji, has an fine description how to compile it. The make file had to be edited to compile on Debian as kalpha2 described in the issues section on the github page.
When jfbview is compiled and put in the path it is as simple as:
$ jfbview filename.pdf