You are not logged in.

#1 2011-08-08 20:46:18

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

pacman to find which package provides an executable [solved]

I'm attempting to compile cuda_memtest.  Per the README, the make step fails:

$ make
nvcc -c -arch sm_13 -DSM_13 -O3  -I. -I/usr/local/cuda/include  -o cuda_memtest.o cuda_memtest.cu
make: nvcc: Command not found
make: *** [cuda_memtest.o] Error 127

I'm obviously missing nvcc but am unsure how/if pacman can be used to identify which package would provide it.

Last edited by graysky (2011-08-08 21:29:09)

Offline

#2 2011-08-08 20:53:31

LeCrayonVert
Member
Registered: 2010-09-01
Posts: 134

Re: pacman to find which package provides an executable [solved]

I would use pkgfile to do that :

pkgfile -r ".*nvcc.*" 

(-r for regex)

Last edited by LeCrayonVert (2011-08-08 20:57:00)


I believe in a world I can and do understand. A rational universe, explained through rational means.

Offline

#3 2011-08-08 21:28:56

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,731
Website

Re: pacman to find which package provides an executable [solved]

Nice, thanks!  The answer is cuda-toolkit in the AUR by the way.

Offline

Board footer

Powered by FluxBB