Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-24-2003, 03:40 PM   #1
LQ Newbie
Registered: Oct 2003
Location: Griffith, IN
Distribution: RH 9
Posts: 15

Rep: Reputation: 0
Clearly stated driver installation commands do not work from command line in terminal

I have downloaded modem and printer driver installers to get the hardware working with my Linux. In both cases, I am given commands to type to install the drivers. I go to the Red Hat Main Menu, then to System Tools, then to Terminal, and I bring up the Terminal window. I have my user account command prompt and I type these commands exactly the way they are stated in the intsall guides that are part of the driver downloads. They do not work. They produce messages--"command not found" or "no such file or directory." When I type " su " and then my password to get my root account prompt, I type in the same commands and get the same messages. I'm basically very new to Linux and not good with commands yet. How do I get these commands to work so I can install the drivers?
Old 10-24-2003, 04:10 PM   #2
Senior Member
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
To install a driver, you must be root. Are you using "su" or "su -"? Using the dash should setup your environment with the proper paths. What commands are not found, and which files are missing? A little more info about where the process is falling apart would be helpful.
Old 10-24-2003, 06:25 PM   #3
LQ Newbie
Registered: Oct 2003
Location: Griffith, IN
Distribution: RH 9
Posts: 15

Original Poster
Rep: Reputation: 0
First, I tried to install a PCTEL LINUX Modem driver that I downloaded. I typed-- "tar zxvf pctel-0.9.6.tar.gz" with and without the quotes and I got the message--command not found. When I tried to enter the cd directory by typing "cd pctel-0.9.6" it told me--no such file or directory. I did not go into root with su - (dash), just with su . I tried a Lexmark printer driver with the same type of command and got the same results.
Old 10-24-2003, 11:20 PM   #4
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681Reputation: 681
You need to install the tar command. It is an often used command and should be in the /bin directory.
Old 10-27-2003, 01:52 AM   #5
LQ Guru
Registered: Apr 2003
Location: Maryland
Distribution: Slack 9.1,10 Mandrake 10,10.1, FedCore 2,3, Mepis 2004, Knoppix 3.6,3.7, SuSE 9.1, FreeBSD 5.2
Posts: 1,109

Rep: Reputation: 45
I have a hard time believing you've got any kind of a normal redhat install and yet somehow managed to drill down into the install options and then decided to *not* install tar for some reason, most likely you chose a sane default installation, is this true? If so, how about doing "which tar" at the command line, it should show the full path to the command.

I recommend you log out from the menu and log back in as root before doing administrative things like installing drivers, it should put all the necessary commands in your path so you don't have to su or type full path names. When finished log out and back in as your normal user name.


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
Scrolling command line terminal FlashAsh99 Linux - Newbie 3 06-27-2005 11:02 AM
Time commands from command line ToothlessRebel Linux - Newbie 1 03-09-2005 11:52 AM
Using FTP to execute command line commands remotely steve_2010 Solaris / OpenSolaris 4 02-13-2004 09:44 AM
How do I make printer driver installation commands work? jayelitumbiolo Linux - Newbie 1 11-06-2003 08:15 PM
shell's command line locks after commands like ls tree_buddy Linux - Networking 17 09-15-2003 11:52 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:23 PM.

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