Results 1 to 9 of 9
I install RHEL,
when i try to use apt-get, It says command not found. Did I installed RHEL in wrong way or do I need to configure any file. Please, ...
- 02-28-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 8
Commands Problems??? Command not found
I install RHEL,
when i try to use apt-get, It says command not found. Did I installed RHEL in wrong way or do I need to configure any file. Please, help me.
- 02-28-2010 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,096
Welcome to the forums!
I'd recommend using yum rather than trying to use apt on RHEL:
Chapter*12.*YUM (Yellowdog Updater Modified)oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 02-28-2010 #3
Grammar
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 02-28-2010 #4Just Joined!
- Join Date
- Feb 2010
- Posts
- 8
Even yum, iostat,tcpdump,iptraf are not working. saying these commands are not found
- 02-28-2010 #5
Have you tried these commands as root user or preface each command with kdesu or perhaps it's now kdesudo for KDE, and gksu or gksudo for Gnome, you'll need the root password.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 02-28-2010 #6forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,096
Try gaining root permissions with the su command, then try yum again:
...orCode:su
... thenCode:su -
...assuming that yum itself is installed.Code:yum install name_of_package
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 02-28-2010 #7
You should use su - for Administrative commands.
su and su - provide different level of privileges.
Execute this
Notice the difference in PATH .Code:su echo $PATH exit su - echo $PATH
For Administrative commands, use su -. Its su and hyphen ( minus sign ).It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-28-2010 #8forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,096
Note also that you can go to a terminal and check the manual page for su to get more options on using the su command:
Report back if you are still having problems.Code:man su
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 02-28-2010 #9Just Joined!
- Join Date
- Feb 2010
- Posts
- 5
use root as
# yum search iostat
#yum search tcpdump
#yum search iptra
for search for these command providing rpm packages
and then use
yum install command


Reply With Quote
