43

The Chrome build from Google has a Chrome PDF Viewer plugin which is really nice. But, the Chromium builds don't seem to have it (nothing shows up in about:plugins).

How do I get the plugin in Chromium on Ubuntu?

Kevin Bowen
  • 20,125
  • 57
  • 82
  • 84
Dima
  • 9,965

8 Answers8

24

Because the PDF plugin is not free software, i.e. it can only be included with the non-free Google Chrome browser.

See http://code.google.com/p/chromium/issues/detail?id=50852#c16 for a statement.

Emma Heinle
  • 2,217
13

tiax is correct but it can be pulled over from a Chrome install and used from within Chromium.

You just need to pull the libpdf.so file over and enable it in about:plugins

Oli
  • 299,936
  • I'll try that! =) – Dima Nov 11 '10 at 01:43
  • 8
    $ cd /usr/lib/chromium-browser/ && sudo ln -s /opt/google/chrome/libpdf.so did the trick for me =) considering I still have google-chrome package ;-) – Dima Nov 11 '10 at 22:03
  • 7
    Just download the google chrome deb from http://google.com/chrome/ , extract the libpdf.so from it using Archive Manager.

    No need to install Chrome :)

    – Nemo Oct 11 '11 at 06:36
  • @Oli - Clever! However, I just get a green screen with the words "Missing Plug-in" in the center of it. Close, but not quite. Any ideas? Thanks! – jmort253 Jan 18 '12 at 02:32
9

You have two solutions that I can see here (applied to Ubuntu 11.10) [This was inspired by comments above and other sources I found]

  • Install Chrome and then copy over *.so files which technically gets you around the legality issues

Here's how I did that...

  1. Close Chromium
  2. Download Chrome from Chrome distro
  3. Install it on your Ubuntu release
  4. cd /usr/lib/chromium-browser/
  5. sudo cp /opt/google/chrome/*.so .
  6. Start Chromium

Note: The new plugins never showed up in my extension listing but suddenly just started working properly. By copy all *.so you are getting support for Flash, FFMPEG, and PDF support.

If you want to copy each individual item here is a listing of them for you to hand pick.

  • libffmpegsumo.so - ffmpeg
  • libgcflashplayer.so - Flash
  • libpdf.so - PDF