Home > fedora, gentoo, linux, ubuntu > How to enable Google’s PDF Plugin in Chromium

How to enable Google’s PDF Plugin in Chromium

Google’s PDF Plugin is most excellent for most needs – and for anything else you can actually download the PDF and do whatever you want to do with it (sidenote though: printing would be really nice. Pretty please, Google?). Unfortunately, it only ships with the official Chrome version and is therefore not available in the Chromium editions most distributions ship or make available.

Therefore, to get and enable the plugin on your favorite local Chromium version:

About these ads
Categories: fedora, gentoo, linux, ubuntu Tags: , , ,
  1. December 3, 2010 at 12:23 pm

    hey, everyone is getting error with this method .. any clue ?

    • Gordon Schulz
      December 3, 2010 at 12:28 pm

      What is the error, exactly?

      • Tim R
        December 7, 2010 at 5:15 pm

        The error is “Missing Plug-In”

        I am wondering if the plug-in requires a backend that may not be installed on our machines.

        Also, it seems more people are hitting this content from: http://chromestory.com/2010/11/how-to-enable-chromes-inbuilt-pdf-plugin-in-chromium-ubuntu/ than from your blog, which seems to be the source. Too bad.

      • Gordon Schulz
        December 7, 2010 at 5:40 pm

        For me the method worked pretty much everytime I tried it. Granted, AFAICR those were only pretty recent Ubuntu or Fedora machines. Does the plugin show up for you in about:plugins ?

      • Gordon Schulz
        December 7, 2010 at 5:41 pm

        oh, nvm… overread the first sentence. Tho, it is enabled in about:plugins? It should be self-hosted.

      • Tim R
        December 7, 2010 at 6:19 pm

        It is enabled in about:plugins.

        Ultimately, I installed Chrome proper.

        What version of Chromium are you running? And what version of Chrome were you pulling from?

        Chromium: 8.0.552.215
        Chrome: 9.0.597.0

      • Gordon Schulz
        December 7, 2010 at 6:26 pm

        It’s seriously weird, but at least it works for you now.
        I was pulling from the same channels; in both regards dev for me, no clue about the ‘real’ version numbers. Nowadays I prefer the beta channel, though. The dev had too many issues in webkit rendering lately. Or so it seemed.

  2. Alberto
    June 20, 2011 at 11:20 am

    It works for me, thanks!

    Using:
    debian linux 2.6.38-2-amd64 – wheezy/sid
    google-chrome-unstable (14.0.794.0-r89286)
    chromium (12.0.742.91~r87961-1)

    Paths:
    src: /opt/google/chrome/libpdf.so
    dst: /usr/lib/chromium/

  3. Mamay
    August 11, 2011 at 4:13 pm

    wow!
    I seem to have found the solution!

    I tried to do as is written here – but got a “missing plugin”.
    I installed google-chrome-stable 13.0.782.112-r95650
    from http://www.ubuntuupdates.org/ppas/8
    and run
    sudo cp /opt/google/chrome/libpdf.so /opt/lib/chromium-browser/

    profit…

  4. Mark
    September 15, 2011 at 1:00 pm

    Missing Plug-In error
    12.0.742.112 (90304) Ubuntu 11.04

    Away to try using Chrome 13…

    • Mark
      September 15, 2011 at 1:59 pm

      …Now got Google Chrome installed 13.0.782.220 (had been using Chromium).

      /opt/google/chrome/libpdf.so for Google Chrome
      /usr/lib/chromium-browser/libpdf.so for Chromium

      Now I can open pdf files fine in a new tab.

      So for me libpdf.so method did not work in Chromium 13 but did for Google Chrome.

      • September 15, 2011 at 2:13 pm

        Actually… Chrome (the official google distribution) always ships with the plugin installed,

  5. September 21, 2011 at 5:30 am

    Thank you so much!
    It worked nicely on Chromium 12.0.742.112 (90304) Ubuntu 11.04.
    Great work.

    Blessings,
    André

  6. September 21, 2011 at 5:32 am

    Actually… Didn’t work. =/
    I was excited with the plugin there in about:plugins… but it didn’t run pdf files.

    • September 21, 2011 at 2:35 pm

      Hmm… weird. Maybe some 32bit/64bit mismatch?

      • October 11, 2011 at 8:57 pm

        Gordon,
        same problem “Missing Plugin” :(
        I am using chromium 12.0.742.112 (90304) Ubuntu 11.04.
        and
        file chromium-browser libpdf.so
        chromium-browser: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, stripped
        libpdf.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
        Any suggestions ?

      • October 12, 2011 at 10:12 am

        Interesting… I just checked on a clean Ubuntu 10.10 RC x86 (32bit) install. Didn’t have a 64bit .iso here, but actually shouldn’t make a difference. It just … worked. My steps:


        # sudo apt-add-repository ppa:chromium-daily/stable
        # sudo aptitude install chromium-browser chromium-browser-inspector chromium-codecs-ffmpeg-extra
        [download Google Chrome stable]
        # cd ~/Downloads/
        # ar vx google-chrome-stable_current_i386.deb
        # tar --lzma -xvf data.tar.lzma
        # sudo cp opt/google/chrome/libpdf.so /usr/lib/chromium-browser/
        # chromium-browser

        Checked on some PDFs, all displayed flawlessly using the integrated plugin.
        Only thing I can think of right now – since Chrome/Chromium 14 are stable right now, is it possible you are trying to plug the 14.x plugin into the 12.0.742.112 Chromium version or are you absolutely sure you have the plugin from the 12.x branch available? The downloads from Google all point to the 14.x branch right now.

  7. adamsmith
    January 26, 2012 at 8:16 am

    thanks for this.
    Just got this to work on a current ubuntu 11.10 build with Chromium 15.x – needed to download the stable chrome version. Also, there’s a plugins folder in the chromium-browser folder. For good measure I put the pdf plugin both there and in the parent folder.

  8. David
    March 15, 2012 at 6:55 pm

    For people having trouble with the Missing Plug-In error, as suggested by adamsmith you need the stable version of chrome. Replace the wget command by:

    wget “http://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb”

    (with i386 replaced by your processor architecture)

  9. Anonymous
    March 22, 2012 at 10:54 am

    I did everything as you writen but now I can’t log in my profile in ubuntu. :/

    • March 22, 2012 at 11:54 am

      What do you mean by ‘profile’? Your user account?

  10. Nejm
    May 8, 2012 at 8:07 pm

    Thanks very much, it worked for me,
    OS : Ubuntu 10.04
    Chromium : 18.0.1025.151
    Chrome : Google-chrome-stable_current_i386.deb ;-)

  11. ngillespie
    August 13, 2012 at 5:14 pm

    Thanks so much for this! works perfect.
    OS: Ubuntu 12.04 64bit
    Chromium: 18.0.1025.168
    Chrome: 21.0.1180.75

  12. niknah
    August 16, 2012 at 12:04 pm

    The unstable version of chrome gave me a “aw, snap” crash, works with the stable chrome.

  13. Liam
    May 9, 2013 at 12:46 am

    Thanks very much, worked great.

    The links in the post 404 for me but change the protocol to HTTPS and they work fine.

    Stable channel links:

    https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb

    https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb

  1. November 16, 2010 at 11:46 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: