CLI pdf viewer for linux

bitmask picture bitmask · Aug 26, 2010 · Viewed 57.4k times · Source

Hey, for quite a while now, I am looking for a pdf viewer for the command line.

As I like to work without X on Linux, and often work on a remote machine, I would like to have a tool to read pdfs. There are quite a lot of really good graphical programs (evince, okular, acroread, ...) to do the job, so I figured there should be at least one decent text-mode tool. But I don't even know of a crappy one!

Currently, I either start X only to read pdfs, or use pdftohtml+lynx. However, the latter does not produce a very good output, and most documents are just unreadable, especially if they contain mathematical formula.

Google is full of people saying either it's not possible or suggesting the pdftohtml version.

I realise, this is not exactly a programming question, but I am currently considering starting a project to implement such a program, unless there already is a good one out there.

Thanks for any suggestions.

Answer

Kasra picture Kasra · Mar 4, 2012

Hi I think that you don't need to write a program for your purpose I mean reading pdf file in console mode because "less" command already do it for you. So use it and just enjoy it.

less "the name of pdf file"