Ubuntu – Cannot open any PDF file using Okular

11.04okularpdf

Today I found online saying that Okular is a very good document viewer. So I installed it from the software center.
After the installation, Okular could not open any PDF files. Actually it could not open file. It always complained that "Cannot find a plug in…" and "Could not open … pdf file".

I looked up on this site, and found somebody said we should delete the related configuration files under ~/.kde/share/. But I didn't found those files there.

BTW, I'm using the Unity desktop.

Best Answer

I faced the same problem so I tried the command:

$kbuildsycoca4

but it felt to run, because I needed to install some kde libs. Then I installed such libs typing:

sudo apt-get install kdelibs-bin

After that Okular was able to open PDF's.

Is this a bug? I'm running Linux Mint 17.1 in a fresh installation.

Related Question