LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2005, 10:18 PM   #1
yesfixit
LQ Newbie
 
Registered: Feb 2005
Location: US
Distribution: SuSe 9.2 and 10.1
Posts: 26

Rep: Reputation: 15
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
 
Old 03-23-2005, 10:25 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
"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
 
Old 03-23-2005, 10:47 PM   #3
yesfixit
LQ Newbie
 
Registered: Feb 2005
Location: US
Distribution: SuSe 9.2 and 10.1
Posts: 26

Original Poster
Rep: Reputation: 15
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.
 
Old 03-23-2005, 10:52 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,863

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

Yes.

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
Redirecting output to a command-line argument of another command madiyaan Linux - Newbie 1 02-19-2005 05:35 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 08:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 02:28 PM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration