LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-15-2010, 10:07 AM   #1
bluebird58
LQ Newbie
 
Registered: Feb 2008
Posts: 6

Rep: Reputation: 0
Bash command not found


HI
I have been trying to install driver for Toshiba laptop Satellite a505-S6986, for realtek rtl8191se wirelesslan 802.11n pci-e nic.
I downloaded driver from realtek website as Tar file.
I have been able to unpack file and read readme file which says to use make and then make install.
I open a terminal and switch to su in that directory but when I type make all I can get is bash:make: bad command.

I am using debian "lenny" as a destro
I would appreciate any help
 
Old 08-15-2010, 10:14 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,437

Rep: Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842Reputation: 2842
Well assuming that make is not installed, have a look in your repositories for it.
 
Old 08-15-2010, 10:14 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
As root try
Code:
apt-get install make
 
Old 08-15-2010, 10:57 AM   #4
bluebird58
LQ Newbie
 
Registered: Feb 2008
Posts: 6

Original Poster
Rep: Reputation: 0
I used apt-get install make
now i am shown
make:*** /lib/modules/2.6.26-2amd64/build
make:*** (all) error 2
 
Old 08-15-2010, 11:00 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,528

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Do you have
Quote:
kernel headers
kernel source
gcc
installed ?
 
Old 08-15-2010, 11:21 AM   #6
bluebird58
LQ Newbie
 
Registered: Feb 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Please remember I am new to linux What is kernel header, kernel source, and gcc
 
Old 08-15-2010, 03:09 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,302

Rep: Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168Reputation: 3168
# apt-get install libc6-dev linux-libc-dev linux-headers-`uname -r`
EDIT : Sorry ... edited to back ticks.

( linux-kernel-headers → linux-libc-dev )
http://packages.debian.org/lenny/linux-kernel-headers

And 'linux-headers-`uname -r`' is the "source" to be used for
third party drivers. Provides /usr/src/linux-headers-`uname -r`
..

Last edited by knudfl; 08-16-2010 at 01:06 AM.
 
Old 08-15-2010, 06:43 PM   #8
bluebird58
LQ Newbie
 
Registered: Feb 2008
Posts: 6

Original Poster
Rep: Reputation: 0
I don't understand this part of your post
And 'linux-headers-´uname -r´' is the "source" to be used for
third party drivers. Provides /usr/src/linux-headers-´uname -r
I looked in /usr/src but this folder is empty
 
Old 08-15-2010, 07:07 PM   #9
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
It should be with "backticks" (next to the "1" on a US keyboard):

Code:
`uname -r`
not:
Code:
´uname -r´
Cheers,

Evo2.
 
Old 08-16-2010, 01:13 AM   #10
PhantasyConcepts
LQ Newbie
 
Registered: May 2009
Posts: 18

Rep: Reputation: 3
Quote:
Originally Posted by bluebird58 View Post
I don't understand this part of your post
And 'linux-headers-´uname -r´' is the "source" to be used for
third party drivers. Provides /usr/src/linux-headers-´uname -r
I looked in /usr/src but this folder is empty
Okay, let me try this one. When you installed your Linux, did it ask you about installing source or kernel source? Did it ask you if you wanted the developer tools? Your answer with the developer tools is always YES! Even if you won't be writing code, when you have to build a new driver, you need make, gcc, and a host of libraries which are available with development tools.
 
Old 08-16-2010, 06:01 AM   #11
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,615
Blog Entries: 26

Rep: Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987Reputation: 1987
Hi,

Others have provided some useful information. I suggest that you read some of the following links to help you understand things a little better;

'How to Ask Questions the Smart Way'

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Ultimate Linux Newbie Guide
LinuxSelfHelp
Getting Started with Linux
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Home Networking
Virtualiation- Top 10


The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
0 members found this post helpful.
Old 08-17-2010, 09:09 AM   #12
bluebird58
LQ Newbie
 
Registered: Feb 2008
Posts: 6

Original Poster
Rep: Reputation: 0
I'am going to try to install developer tools this week and hope that this will solve my problems, I work nights and only have the weekends to work on my new operating system !


Thanks everyone for giving me your time and knowledge it has already been quite a learning experience!
 
  


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
Bash: command not found! Adil_uk Linux - General 14 04-09-2012 01:04 AM
bash: g++: command not found m_lp_ql_m Linux - Software 8 07-08-2010 01:45 PM
[SOLVED] bash: command not found rohit0825 Linux - Newbie 4 01-24-2010 05:31 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
-bash: ls: command not found jchun Linux - General 3 11-02-2004 10:11 AM


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