LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-19-2003, 12:06 AM   #1
cattleya
LQ Newbie
 
Registered: Nov 2003
Location: Manila, Philippines
Posts: 6

Rep: Reputation: 0
Unhappy Newbie problem: Starting YAST gives me "-bash: yast: command not found".


Hello! I'm a Linux newbie but I was given a project to install and test Linux for zSeries in an LPAR using SuSE 8.0. I'm installing from CD. I've formatted the DASDs already but I can't seem to run YAST. I have access to an HMC (Hardware Management Console) and I can telnet using PuTTY. What command do I write? Typing 'yast' gives me "-bash: yast: command not found".

My project is so delayed already. Thanks so much for the help!
 
Old 11-19-2003, 12:12 AM   #2
RolledOat
Member
 
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Do you have to be root to run Yast? If so, and you are logged in as a regular user, then Yast won't be in the normal path. Enter
locate yast
see where it is. If in /sbin or /usr/sbin, then you will need to be root.

RO
 
Old 11-19-2003, 12:49 AM   #3
cattleya
LQ Newbie
 
Registered: Nov 2003
Location: Manila, Philippines
Posts: 6

Original Poster
Rep: Reputation: 0
Question Command YAST not found in any folder

Thanks RO for the reply, but the command yast is not in /sbin, /usr/sbin or even in /bin. I am already logged in as root.
 
Old 11-19-2003, 03:07 AM   #4
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
tried yast2 yet?
 
Old 11-19-2003, 03:14 AM   #5
cattleya
LQ Newbie
 
Registered: Nov 2003
Location: Manila, Philippines
Posts: 6

Original Poster
Rep: Reputation: 0
Yes I've tried it already....can't find yast2 anywhere as well....thanks...
 
Old 11-19-2003, 09:48 AM   #6
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Rep: Reputation: 30
type this as root
Code:
find / -name yast2
It has to be in there somewhere
 
Old 11-19-2003, 12:24 PM   #7
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
or run 'updatedb' first, then 'slocate -i yast' (for case-insensitive)
 
Old 11-19-2003, 03:19 PM   #8
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Rep: Reputation: 30
unfortunatly, suse 8.2 doesnt come with updatedb.
 
Old 11-20-2003, 12:28 AM   #9
cattleya
LQ Newbie
 
Registered: Nov 2003
Location: Manila, Philippines
Posts: 6

Original Poster
Rep: Reputation: 0
Unhappy Several commands cannot be found! ex. "man" & "find"

When I type the command "find", it says "-bash: find: command not found". It seems several commands are missing. Even "man" command doesn't work! Do I need to change shell type? I think I'm using bash.

Thanks for the help.

cattleya
 
Old 11-20-2003, 11:18 AM   #10
unholy
Member
 
Registered: Sep 2003
Location: Eire
Distribution: Ubuntu 7.10
Posts: 344

Rep: Reputation: 30
Ok, there are two possibilities I see here.

1 - youre installation is missing these commands
2 - your PATH variable does not point to their location.

type:
Code:
export PATH=/usr/bin
and try using the find command again.
This is the location of my find command.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
"bash: rpm: command not found" errom when trying to install any package sandeepchau123 Linux - General 16 07-06-2008 03:58 AM
Suse 10 Yast "hardware info" hangs on braille suguru Linux - Hardware 1 12-22-2005 01:35 AM
bash: passwd: command not found "HELP" balweg Red Hat 4 05-05-2005 03:47 PM
"bash: run: command not found" ? neuropulse Linux - Newbie 10 04-23-2005 07:58 AM
bash says "command not found" webguru24 Programming 2 01-05-2004 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:54 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
Open Source Consulting | Domain Registration