pajo
Posts: 7
Joined: Thu Jul 19, 2012 10:45 am

Help with pdf reader

Thu Jul 26, 2012 1:30 pm

I have been trying to install a pdf reader on my pi. I found mupdf (which was recommended) so tried to install that. I managed to successfully install all the third party components required (big thanks to http://neerajkarimpuzha.wordpress.com/) but when I came to compile and install mupdf itself I immediately hit a load of errors. When I typed the make command, it failed, saying it could not find the working directory (unable to create getcwd, etc).
Anyone able to offer any assistance?
Please note I am completely new to Linux so please keep responses as simple and dummy-proof as possible!!!
Thanks...

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2848
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: Help with pdf reader

Thu Jul 26, 2012 5:53 pm

What about

Code: Select all

sudo apt-get install xpdf
Should be all you need :D
Alex Eames RasPi.TV, RasP.iO

asb
Forum Moderator
Forum Moderator
Posts: 853
Joined: Fri Sep 16, 2011 7:16 pm
Contact: Website

Re: Help with pdf reader

Thu Jul 26, 2012 7:26 pm

mupdf is installed out of the box on the Foundation's Raspbian image.

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2848
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: Help with pdf reader

Fri Jul 27, 2012 11:08 am

asb wrote:mupdf is installed out of the box on the Foundation's Raspbian image.
Even better :D
Alex Eames RasPi.TV, RasP.iO

pajo
Posts: 7
Joined: Thu Jul 19, 2012 10:45 am

Re: Help with pdf reader

Fri Jul 27, 2012 11:48 am

Ouch!
Due to my inexperience, I bought the pi with an SD card with the OS pre-installed from RS. I think it's Debian Linux (???). There is no mupdf.
So I ran the sudo apt-get install xpdf from the prompt, it went through it's pace, but now when I go in with startx, I have no applications in the menu - they have all disappeared!!! I only have Run (which does nothing) and Logout.
Can anyone help me recover from this to where I was? I can now do nothing!!!
This is quickly going to extreme frustration with the pi!
Thanks for any help...

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2848
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: Help with pdf reader

Fri Jul 27, 2012 5:46 pm

I've got a tutorial on the go for this, but it's not quite ready. It sounds to me like you need to re-image the card.
Do you have a Windows computer? If so you need win32diskimager

You also need to download an OS image (click on the download link at the top of this forum page and choose the Raspbian wheezy one).

Then follow these instructions to make your image. If that doesn't work for you, I hope to have my foolproof tutorial finished in a day or two. :D
Alex Eames RasPi.TV, RasP.iO

pajo
Posts: 7
Joined: Thu Jul 19, 2012 10:45 am

Re: Help with pdf reader

Mon Jul 30, 2012 2:49 pm

Thanks Alex!
I already dave up and re-imaged my card. The new Raspgian distribution is different to one that came with the pi, although I still can't find mupdf!
But now a different problem emerges - I am trying to learn python, so went to inventwithpython.com. But when I click to download the source files, all that happens is the pi creates a zip archive with the correct name but 0 bytes in size, so it is not actually downloading anything. This is just from Midori so it should work surely??
It also seems that this tutorial uses Python 3, and the one included in Raspbian is 2, so i also tried to download Python 3 from www.python.org. Same thing - a filename but 0 bytes, so again no actual download.
Any ideas???
I am finding this extremely frustrating!!!!!

User avatar
alexeames
Forum Moderator
Forum Moderator
Posts: 2848
Joined: Sat Mar 03, 2012 11:57 am
Location: UK
Contact: Website

Re: Help with pdf reader

Mon Jul 30, 2012 5:37 pm

Copy the download URL, open an LXterminal window
cd to where you want the files to go, e.g cd /home/pi
then wget <url>

Where <url> is the download url.

The tutorial is finished now, but slightly too late for you ;)
Alex Eames RasPi.TV, RasP.iO

Return to “Beginners”