LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   command line help (https://www.linuxquestions.org/questions/linux-newbie-8/command-line-help-305318/)

yesfixit 03-23-2005 09:18 PM

command line help
 
Hello everyone,
Another nooobi. I am trying to install nvidia drivers and when the install runs it cannot locate a specific file in a predefined path, I manually located the file in a different folder. But how can I tell the install programe to look for the specific path using command line.


This is where the installer is looking '/lib/modules/2.6.*-default/build/include/linux/kernel.h'
But the actual location is '/usr/include/linux/kernel.h' ( how do I specifiy '--kernel-source-path')

I am spoiled by windoz GUI any help appreciated

Thanking You.
yesfixit

jailbait 03-23-2005 09:25 PM

"This is where the installer is looking '/lib/modules/2.6.*-default/build/include/linux/kernel.h'
But the actual location is '/usr/include/linux/kernel.h' ( how do I specifiy '--kernel-source-path')"

I am not sure what you mean by 2.6.*. If that is actually what the installer is looking for then you need to substitute a unique character for the *. In my example I use Z.

You create a symbolic link from where the install is looking to where the file actually is:

ln -s /usr/include/linux/kernel.h /lib/modules/2.6.Z-default/build/include/linux/kernel.h

------------------------
Steve Stites

yesfixit 03-23-2005 09:47 PM

Hi Steve,
Thanks for the quick reply. by using 2.6.* I tried to save some typing it is actually the full kernel version.
Can I use the given command line before starting the installation so it will create a link ?

Thank you,
Shenny.

jailbait 03-23-2005 09:52 PM

"Can I use the given command line before starting the installation so it will create a link ?"

Yes.

--------------------------------
Steve Stites


All times are GMT -5. The time now is 05:59 PM.