I want to install libeigen3-dev (3.3.2) from Yakkety while on Ubuntu 14.04. I don't want to simply download the deb file because I need to distribute this process to lots of other computers.

How can I do this?

  • First try the deb file. There is no guarantee it will install ;-) It is very unlikely. – Pilot6 Feb 17 '17 at 19:31
  • It installs just fine. The package I'm talking about is just a header file library . The newer version just handles normalizing zero vectors differently – Klik Feb 17 '17 at 21:01

You can do it by

wget http://mirrors.kernel.org/ubuntu/pool/universe/e/eigen3/libeigen3-dev_3.3~beta2-2ubuntu2_all.deb
sudo dpkg -i libeigen3-dev_3.3~beta2-2ubuntu2_all.deb

As simple as that.

| improve this answer | |
  • I should have specified via apt-get. I'm not familiar with deb files, and would like the location of the installed files to be as if it had been installed using apt-get. This would mean replacing the older eigen3 files. – Klik Feb 17 '17 at 21:10
  • This is the exact location where apt-get pulls the packages from. One of the official mirrors. And dpkg is what actually installs them using apt-get. Adding yakkety repos is a very bad idea. – Pilot6 Feb 17 '17 at 21:12
  • Will it install things the same way? – Klik Feb 17 '17 at 21:13
  • Exactly the same way. apt-get is a wrapper for wget and dpkg. – Pilot6 Feb 17 '17 at 21:13
  • You can use this link as well. archive.ubuntu.com/ubuntu/ubuntu/pool/universe/e/eigen3/… It is 100% official. – Pilot6 Feb 17 '17 at 21:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.