Ubuntu 14.04.1 LTS package libboost-all-dev installation with CUDA

Asked by giulia

I have Ubuntu 14.04.1 LTS.

I have an Asus laptop N56VZ with an NVIDIA GeForce GT 650M with Optimus Technology.

I need to have both CUDA (drivers and toolkit) and Boost installed.

I have installed NVIDIA drivers 340.58 from this ppa:xorg-edgers/ppa with apt-get, and then the cuda .deb package (v 6.5) following the official NVIDIA guide.

Everything works fine (luckily) but if I try to install Boost dev libs with 'sudo apt-get install libboost-all-dev' it prompts me that all CUDA packages are going to be removed, hence I exit the installation process.

Why does this happen?

Thank you.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

libboost-all-dev is a meta-package that installs a series of other packages (see http://packages.ubuntu.com/trusty/libboost-all-dev ). Do you need them all? Maybe you can avoid the problem by selectively installing only those packages (and their dependencies) that you really need.

Do you see the same problem when trying

sudo apt-get install --no-install-recommends libboost-all-dev

Revision history for this message
cancan101 (agrothberg) said :
#2

Adding ` --no-install-recommends libboost-all-dev` solved the problem.

Can you help with this problem?

Provide an answer of your own, or ask giulia for more information if necessary.

To post a message you must log in.