LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-22-2003, 07:24 AM   #1
jonDough1001
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Rep: Reputation: 0
RH9 Package Question


Hello All - I have a quick question about RH9 packages that may or may not have been installed on my laptop. First the rundown I have a dual boot with RH9 / Win XP Pro on a compaq presario 2100 AMD 1.8 / ATI Video Card / CD-RW DVD / ....

I have another box with RH8 on it and when I use the apt-get command or NMAP in the shell on that box the shell understands those commands. On the RH9 box when I use either of those commands or ifconfig The shell does not understand those commands. Is there a package to install to get those commands working? I thought that nmap and apt-get and ifconfig were built in??? Did something change with the Red Hat 9 distro that I should know about???WHat should I check first to resolve this issue???

Any help would be greatly appreciated
 
Old 09-22-2003, 07:39 AM   #2
wiredX
Member
 
Registered: Jul 2003
Distribution: Redhat 8.0
Posts: 38

Rep: Reputation: 15
did you install the nmap package??

query its avialability on your system by doing::

rpm -q nmap

Do the same with other commands....
 
Old 09-22-2003, 07:45 AM   #3
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Perhaps you are not logged in as root. Try to su using:
su -
 
Old 09-22-2003, 07:51 AM   #4
wiredX
Member
 
Registered: Jul 2003
Distribution: Redhat 8.0
Posts: 38

Rep: Reputation: 15
my bad-I should not have assumed that he knows that he should be logged in as root.
-------------------------
In the console/terminal/xterm
type:
su
--enter your root password---

star typing the above rpm commands to find out if you installed nmap package.
If not install from the cd or download/install it from the shrike.freshrpms.net
 
Old 09-22-2003, 08:19 AM   #5
jonDough1001
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
ok I know next to my name it says noob but I do have common sense...thank you ...As for logging in as root I tried that to see if that worked originally, but let me ask you this, If the command was only available to root it would return a statement to the effect of "you do not have permission to use this command" not "bash# command not found /bin"

...

anyway...

Now back to the package question...

shouldnt apt-get command be installed by default?
 
Old 09-22-2003, 08:36 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Quote:
Originally posted by jonDough1001
ok I know next to my name it says noob but I do have common sense...thank you ...As for logging in as root I tried that to see if that worked originally, but let me ask you this, If the command was only available to root it would return a statement to the effect of "you do not have permission to use this command" not "bash# command not found /bin"

...

anyway...

Now back to the package question...

shouldnt apt-get command be installed by default?
Actually no There are certain paths such as /sbin that are usually only loaded into root's PATH environment variable but not a users. So if the program isn't in your path then you won't find it. Even running "su" to get roots privilages doesn't load a new shell for root and hence it still has the default PATHS for your user. To start a new shell and get roots paths then su to root using "su -". Or if you just use "su" then try the full path.
 
Old 09-22-2003, 08:40 AM   #7
jonDough1001
LQ Newbie
 
Registered: Sep 2003
Posts: 3

Original Poster
Rep: Reputation: 0
interesting...
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lftp dependencies RH9, package manage? malaka56 Linux - Software 1 07-09-2005 07:56 AM
Need to install dvd+rw-tools package RH9 marcbachman Linux - Software 0 11-18-2004 11:04 PM
Add/Remove Package problem RH9.0 chrisjbzero Red Hat 5 03-31-2004 09:32 AM
Source code for rh9 games package??? Quantum0726 Red Hat 0 12-29-2003 02:42 PM
adding the RH9 development package seth_m Linux - Software 2 10-02-2003 06:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:09 PM.

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
Open Source Consulting | Domain Registration