I installed cuda by apt-get. I need to point cuda libraries in cmake file for compilation of another library however I cannot find the CUDA path. Where is the /include and /bin paths of CUDA in such intallation?


You can list files installed by a package using dpkg --listfiles. For example:

dpkg --listfiles cuda

This should find all the files the package installed, from which you can find the include files.

How do I get a list of installed files from a package?

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.