How can I install the latest version of Evince?

34,474

Solution 1

I had Evince 3.6.1. The way I upgraded, I just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo add-apt-repository ppa:gnome3-team/gnome3 
sudo apt-get update
sudo apt-get install evince

Below are before and after images.

enter image description here

enter image description here

Keep in mind that the current stable release is 3.6.1.

Or use Synaptic. If not installed, you can install it by, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo apt-get install synaptic

Edit

Evince for 12.04 is not available in the repo anymore. its only available for 12.10, and 13.04. To get it for other Ubuntu versions, check here or here.

Solution 2

If you try to install via pre-compiled binaries you can end up breaking your system because of the depencies.

I have lately tackled the same problem and the only way I could solve it was to download the latest version of Evince (in my case it was 3.26) and compile it manually. Luckily, there's a guide to doing here:

./configure --prefix=/usr --enable-compile-warnings=minimum --enable-introspection --disable-static && make

In my case I had to manually install 6 extra packages (all in the repo) to successfully run the .configure command, but nothing google can't help.

Since this might be useful for Ubuntu users, which are doomed to use a very out-of-date version of Evince, and for the sake of completion, here are the packages I had to install in my Linux Mint 18.2 in order to compile:

libxml2-dev libsecret-1-dev libnautilus-extension-dev gobject-introspection-dev or libgirepository1.0-dev libpoppler-glib-dev itstool

Share:
34,474

Related videos on Youtube

Red
Author by

Red

Updated on September 18, 2022

Comments

  • Red
    Red almost 2 years

    I have Ubuntu 12.04 with Evince 3.4.0. This version of Evince has some bugs (in particular showing patterns) that are fixed in the version 3.8.0. Does anyone know if there is some repository to have Evince up to date? I would prefer this option (repository) but if this can not be done I would accept also a manual installation of the up to date version.

  • Red
    Red about 11 years
    I added the repository, update and upgrade but evince is still the 3.4.0 version one...
  • Manuel
    Manuel about 11 years
    For Precise it seems that only Gnome 3.4 is available. You can try to install evince from Quantal (12.10)...
  • Red
    Red about 11 years
    What version of Ubuntu do you have?
  • Mitch
    Mitch about 11 years
    Ubuntu 12.04. I did it on 2 machines, one worked, and other one didn't. So I downloaded the file manually, it installed, but wouldn't run. I will be deleting the answer, if I can't find a solution.
  • Red
    Red about 11 years
    I did in 2 machines too but it didn't work in both.
  • Mitch
    Mitch about 11 years
    I installed on work machine, it installs, but will not start. I will keep looking for a little while longer.
  • Braiam
    Braiam over 10 years
    Mitch, can you verify if you answer works?
  • Mitch
    Mitch over 10 years
    @Braiam As stated in my answer, the update worked on one machine, but not the other. I installed 12.04 fresh today, and tried to install 3.8, but it wasn't available at Launchpad, since that's how it worked initially. However I came across This, but I didn't have time to test, since I'm slammed at work.
  • Serge Stroobandt
    Serge Stroobandt about 10 years
    evince is no longer in this repository.
  • Mitch
    Mitch about 10 years
    @GinGordon Thanks for the note. I have updated my answer to reflect that
  • Dave Jarvis
    Dave Jarvis over 9 years
    Note: The latest version is 3.14.x series, which isn't pushed to the PPA at this time.
  • loved.by.Jesus
    loved.by.Jesus over 3 years
    After running ./configure and make, we must run sudo install or, my recommendation, checkinstall in order to have full control of the installed package via the dpkg front end.