LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 02-08-2004, 09:48 PM   #1
redhatman
Member
 
Registered: Feb 2004
Location: Canada
Distribution: FC2
Posts: 63

Rep: Reputation: 15
modprobe: command not found


I am trying to install drivers for my soundcard and I am supposed to use the command modprobe. When I attempt to do so, I am given the following error:

bash: modprobe: command not found


Can anyone offer me some help?
 
Old 02-08-2004, 09:49 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
You are doing it as root right? It should be in /sbin. You can always type locate modprobe and so long as you have a locate database it should find it for you.
 
Old 02-08-2004, 09:50 PM   #3
TBC Cosmo
Member
 
Registered: Feb 2004
Location: NY
Distribution: Fedora 10, CentOS 5.4, Debian 5 Sparc64
Posts: 355

Rep: Reputation: 43
Try running it as root. Failing that, as root try /sbin/modprobe
 
Old 02-08-2004, 10:15 PM   #4
redhatman
Member
 
Registered: Feb 2004
Location: Canada
Distribution: FC2
Posts: 63

Original Poster
Rep: Reputation: 15
/sbin/modprobe seemed to work. I was already logged in as root. Thanks for your help.
 
Old 02-08-2004, 10:18 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well then from all this, the moral of the story is that /sbin is not in roots PATH, so that is why simply typing modprobe did not work ...
that is if your were wondering
 
Old 02-08-2004, 11:13 PM   #6
DoktorSeven
LQ Newbie
 
Registered: Oct 2003
Location: Birmingham, AL
Distribution: Gentoo
Posts: 1

Rep: Reputation: 0
The real moral of the story, most likely, is to remember to use the "-" after su to change to root's paths, which should include /sbin/. I.E, instead of running

su

, do this:

su -
 
  


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
modprobe: command not found sutley Linux - Newbie 3 07-29-2005 06:39 PM
modprobe: command not found tombaaaaa Linux - Newbie 7 07-23-2004 06:46 PM
Modprobe command not found DoThatPlan Linux - Software 2 07-14-2004 09:21 AM
'modprobe' command not found DeltaXFX Fedora 5 07-09-2004 03:31 PM
modprobe: command not found....? Tommi Linux - Newbie 3 06-27-2003 07:54 AM

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

All times are GMT -5. The time now is 09:53 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