Skip to navigation

Installing okular in Gutsy

I’m running Xubuntu but I don’t see why this wouldn’t work for Ubuntu.

I really like kpdf, but it cannot rotate pages. It seems that it is no longer actively developed, and that instead okular is kpdf’s successor. However, in Gutsy, if you try installing okular via aptitude, you get a dependency problem that aptitude cannot resovle for you (something about missing the virtual package libpoppler1).

You can work around this by adding the following repository to your /etc/apt/sources.list:

deb gutsy main


sudo aptitude update && sudo aptitude dist-upgrade

This installs quite a few kde things and may reinstall kde apps you might already have installed, such as amarok. It did for me. My guess is the problem is that okular is a kde4 app, and you need some kde4 stuff for it. I haven’t checked whether this breaks any of the other kde apps on your system! (Personally, I don’t care — I do have amarok installed but I’m hardly using it; I’ve grown fond of quodlibet instead).

Then, you can do:

sudo aptitude install okular

This will install a lot of dependencies.

You won’t be able to start okular by just using the command okular in a terminal, but you can find it in the Xfce menu under the “Graphics” applications. However, a

ps -ef | grep okular

while okular is running reveals that it sits at /usr/lib/kde4/bin/okular, so you can add

alias okular="/usr/lib/kde4/bin/okular"

to your ~/.bashrc (or, maybe add /usr/lib/kde4/bin to your PATH).

Comments are closed.