How to update libeigen3 to version >= 3.3 on 16.04 xenial?

7,472
  1. Try "apt-pinning" of the package libeigen3-dev from another newer Ubuntu version or
  2. do it manually by downloading the deb-file from https://packages.ubuntu.com/bionic/libeigen3-dev (by clicking on "all" that directs to https://packages.ubuntu.com/bionic/all/libeigen3-dev/download) and then install it by sudo dpkg -i libeigen3-dev_3.3.4-4_all.deb (or whatever version you have downloaded). It should work flawless since there are not difficult dependencies.
Share:
7,472

Related videos on Youtube

s.k
Author by

s.k

geosciences.

Updated on September 18, 2022

Comments

  • s.k
    s.k over 1 year

    Issue:

    I have libeigen3 from the official repo installed:

    $ sudo apt-get install libeigen3-dev 
    [sudo] password for nicolas: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    libeigen3-dev is already the newest version (3.3~beta1-2).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    

    it says it's a 3.3 version, as this command does:

    $ dpkg -s libeigen3-dev | grep 'Version'
    Version: 3.3~beta1-2
    

    However, version in file /usr/lib/cmake/eigen3/Eigen3Config.cmake is set to:

    set ( EIGEN3_VERSION_STRING "3.2.92" )
    

    Question:

    I wonder why? And how could I fix that because I need at least Eigen3.3 for to build an other software.

    • damadam
      damadam over 5 years
      if there isn't problem to say it, can you precise which software you want to build?
    • s.k
      s.k over 5 years
      it's FOSS so there is no problem: github.com/alicevision/AliceVision.git
    • tardis
      tardis over 5 years
      Often the beta versions are named this way in a lot of software: Add a high minor version like "92" that shows that 3.2.92 is near to 3.3.0