LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Bash command not found (https://www.linuxquestions.org/questions/linux-newbie-8/bash-command-not-found-826350/)

bluebird58 08-15-2010 10:07 AM

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

grail 08-15-2010 10:14 AM

Well assuming that make is not installed, have a look in your repositories for it.

repo 08-15-2010 10:14 AM

As root try
Code:

apt-get install make

bluebird58 08-15-2010 10:57 AM

I used apt-get install make
now i am shown
make:*** /lib/modules/2.6.26-2amd64/build
make:*** (all) error 2

repo 08-15-2010 11:00 AM

Do you have
Quote:

kernel headers
kernel source
gcc
installed ?

bluebird58 08-15-2010 11:21 AM

Please remember I am new to linux What is kernel header, kernel source, and gcc

knudfl 08-15-2010 03:09 PM

# 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`
..

bluebird58 08-15-2010 06:43 PM

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

evo2 08-15-2010 07:07 PM

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

Code:

`uname -r`
not:
Code:

Žuname -rŽ
Cheers,

Evo2.

PhantasyConcepts 08-16-2010 01:13 AM

Quote:

Originally Posted by bluebird58 (Post 4067193)
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.

onebuck 08-16-2010 06:01 AM

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

:hattip:
The above links and others can be found at 'Slackware-Links'. More than just Slackwareź links!

bluebird58 08-17-2010 09:09 AM

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!


All times are GMT -5. The time now is 02:46 PM.