Chrome PDF Plugin in Ubuntu – How To Enable

Chrome Ubuntu
There are many differences between Chromium and Chrome when it comes to the principles and licenses etc. But, from a user point of view, there are certain features that work only in Chrome and not on Chromium, the opensource version. But the good news is, we can get most of those things work on Chromium with a little tweaking.
read all the news about Chrome OS and CR 48 on Chromestory.com
If you are using Chromium on Ubuntu and wants it to play nice with the new Chrome inbuilt PDF viewer from Google, here is how to do it. ( I will post the windows version soon )
- Download a Google Chrome release that matches your processor architecture (x86/x86_64):
# wget http://dl.google.com/linux/direct/google-chrome-unstable_current_i386.deb
# wget http://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb - extract the .deb:
# ar vx <previously downloaded .deb> - extract the data payload:
# tar --lzma -xvf data.tar.lzma - copy the plugin to destination folder:
(note:Â/usr/lib/chromium-browseris valid for my Ubuntu PPA version, might be/opt/chromium-browseror something on other distributions)
# sudo cp opt/google/chrome/libpdf.so /usr/lib/chromium-browser/ - restart any open Chromium processes
- check about:plugins for theÂ
Chrome PDF Viewer, should not need any enabling
Hope this helps ! More tips on Chromium and Ubuntu versions are welcome ! and if you are asking me why should we use Chromium when Chrome is there .. hmm, there are situations where you have only Chromium, and not chrome. Like when I tried jolicloud recently …. I will write about that too soon ! .. remind me if I forget LOL !
Related : How to Use Google Chrome As Your Default PDF Reader on Windows
Via Azmo’s Weblog.


42 Responses to “Chrome PDF Plugin in Ubuntu – How To Enable”
[...] little bit more complex and Chrome Story have the steps summed up perfectly. Redirect yourselves to chromestory.com/2010/11/how-to-enable-chromes-inbuilt-pdf-plugin-in-chromium-ubuntu/ and follow [...]
Hi, I managed to install the plugin properly and it shows up in about:plugins page. But on trying to view a pdf file, it give me a missing plugin. What could have possibly gone wrong?
I’m having the same problem as Dick, the installation is no problem and on the plugin page the plugin is fully recognized but when opening a file it says “Missing plugin”.
do you have all plugins enabled ? did you try restarting the computer ?
I have enabled all plugins and restarted my computer, but it still doesn’t work. Maybe my version from chromium-daily/beta ppa is too old…
You can install gPDF for an extension for Chromium.
I tried that, but for me personally the google docs online site is very slow in loading, so I wanted to use a local viewer. Maybe I manage to make evince load inside the chromium window…
This document avoids the need to use Google-based services or any web-based service in that manner. A native (plugin, to be accurate) support for this document viewing is very much necessary and handier if not reliant on a web source.
Missing plugin…
Seems like everyone is getting the same problem.
[...] of the besttttt features of Chrome is the inbuilt PDF viewer. It makes PDF files so light and fast !. Sometimes I feel that Chrome handles it better than [...]
[...] of the besttttt features of Chrome is the inbuilt PDF viewer. It makes PDF files so light and fast !. Sometimes I feel that Chrome handles it better than [...]
Thanks. Really useful
Thanks!
This is working with Chromium 11.0!
Very nice!
[...] How to Enable Chrome’s Inbuilt PDF Plugin in Chromium #Ubuntu [...]
note: replace
> sudo cp opt/google/chrome/libpdf.so /usr/lib/chromium-browser/
to
> sudo cp /opt/google/chrome/libpdf.so /usr/lib/chromium-browser/
Actually, the first one was correct. When you extract data.tar.lzma, you are extracting into the *current directory*. For example /home/yourname/yourdownloads/somedirectory/opt/google/chrome/libpdf.so.
Same here… missing plugin
[...] hacks og how-to: – SÃ¥dan aktiverer du PDF-support i den gratis Chromium OS – SÃ¥dan aktiverer du MP3-support i den gratis Chromium [...]
Missing plugin………
Chromium 6.0.472.63 (59945) Debian 6.0.1
Same here: “Missing plugin”
Chromium 12.0.742.112 (90304) Ubuntu 11.04 (64-bits)
thanks Azmo. A good workaround for an unusual omission by Google.
thanks for this article,
works fine with opensuse 11.4 and chromium 15.0.870.0 .
I only had to change the comandline to:
“sudo cp opt/google/chrome/libpdf.so /usr/lib64/chromium/”,
because I use a 64bit-system and opensuse has only a “chromium”-folder, without “-browser”.
Same: missing plug-in.
Chromium 12.0.742.112 Ubuntu 11.04
I installed the GoogleDocsPDFViewer ( http://www.chromeextensions.org/other/googledocspdfviewer/ ) and it works. Note: it is *not* plugin, just an extension that redirect to GoogleDocs. But at least I can see pdfs now.
i get “no permission” error
works well thanks
works, ubuntu 11.10, chromium 15.0.874.106
not works,same:missing plug-in.
chromium 16.0.912.63 + Arch Linux(64 bit)
maybe it’s a 64bit issue
Have any of you tried testing out multiple sites to be sure it isn’t just a problem with the site you’re viewing? Here’s the problem I was encountering and how I fixed it.
I’m using Ubuntu 11.10 and Chromium 15.0.874.106. Before reading this article, I was having the same “missing plugin” problem. Following the above instructions didn’t fix the problem for the site I was trying to access. But it DID fix it for most sites. For example, this site didn’t used to work for me, and after following the instructions in this article, the PDF parts work:
http://www.planetpdf.com/mainpage.asp?webpageid=1682
But the original site I was trying to access still didn’t work!
Well, it turns out that the site I was trying to access was doing a very dumb thing. Rather than just trying to embed the PDF, it was checking to see if I had Adobe Reader. If I did, it used JavaScript to embed the PDF. If not, it displayed an error message without even trying to display the PDF or offering a link to it. So since I’m using Chrome PDF Viewer rather than Adobe Reader, that site will never work properly for me until they redesign it.
Anyway, just a thought. If you’re having trouble getting Chrome PDF Viewer to work properly, test it out on multiple sites. The site you’re trying to view PDFs on may just be poorly designed and refusing to show you the PDF because it doesn’t detect Adobe Reader.
Do you run a 32bit or 64bit Ubuntu? I have exactly the same config (Ubuntu 11.10 64bit and Chromium 15.0.874.106) and still having the “missing plugin” error (and it’s NOT site-dependent: I tried on dozens of different websites).
Same problem here (missing plugin) chromium 16 kubuntu (11.10) 64-bit
The plugin works with google chrome (and not chromium), You can download the .deb file here: http://www.google.ch/chrome/index.html?hl=en
I found the solution to the “plugin missing” issue. You may need to use the libpdf.so from the stable chrome instead :
http://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
http://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Stable work for me, thx
confirmed fix! thanks anon
running mint 11
Just tried that and no luck: still missing plugin
Chromium 17.0.963.65 (Developer Build 124586 Linux) Ubuntu 11.10
Works with the stable as anon said.
Gust
I suppose you’re all on Ubuntu 32bits and used the i386.deb? Can someone else and give feedback with 64bits?
Same results as everyone else, on Ubuntu amd64 – unstable results in “missing plugin” error, and anon comment from march 10 2012 instructing to use stable instead works fine
OK my mistake, it’s working fine now, must have done something wrong the first time. Sorry for the trouble, and thanks for the fix!
mmm i have tried the fix above downloaded both version but it’s not working. I have Ubuntu 11.10 64bit and Chromium 17.0.963.79 (Developer Build 125985 Linux) Ubuntu 11.10
Is there any workaround about this? How did 64bit users above got it working?
Help!
Thanks in advance!
worked with the stable chrome 32bit.deb on ubuntu 11.10 using chromium 18.0.997.0
xxx