yast command not found

Hi all,

I just installed a OpenSUSE 13.1
Now i want to install Apache server in this system,
but when i type a command yast -i apache2
it said -bash: yast: command not found
i remember yast should be including in OpenSUSE ?
So i’m wonder why this message appearing?
May i know how can i use yast in openSUSE 13?
Thank all.

Brgds/Brandon Chau

Are you sure about the error? because this is what i get when running yast as a normal user.

jetchisel@Localhost:~> yast
Absolute path to 'yast' is '/sbin/yast', so running it may require superuser privileges (eg. root)

.

If you want to install from cli the use zypper.

zypper search apache2
zypper help in 
http://en.opensuse.org/SDB:Zypper_usage

If you want to install apache2 then run this.

zypper in apache2

But is not complete, you still need to install and configure some files and packages, however if you install the pattern lamp_server then you have a running webserver right away.
Search for the pattern lamp_server

zypper se -t pattern lamp_server

Install the pattern lamp_server

zypper in -t pattern lamp_server

But most folks in here would insists that you use the GUI yast program when installing packages depending on your knowledge of zypper and the cli/interactive shell ;).

While jetchisel’s anwer does contain a lot information, I would like to add some info about using the forums. When you want to post things that happen on your terminal window, please copy/paste the prompt, the command, the output and the next prompt between CODE tags in a post. You get the CODE tags by clicking on the # button in the tool bar of the post editor.

You will see a good examples in jetchisel’s post above.

Hi jetchisel,

Thank for your reply, Please see below screen capture, and i installed apache2 with cmd zipper already, but for future , i think yast is a core for manage the application and configure , so i wanted to fix that issues, do you have some suggestion, thanks.

http://i1057.photobucket.com/albums/t400/cloudthreeatl/Error%20pics/yastcommandnotfound.jpg](http://s1057.photobucket.com/user/cloudthreeatl/media/Error%20pics/yastcommandnotfound.jpg.html)

Brgds/Brandon Chau

Hello,

Noted , will follow the syntax in the future, thanks for the remind.

Brgds/Brandon Chau

Please paste the output of the following.

lsb-release -rs
awk -F\" '/VERSION_ID/ {print $2}' /etc/os-release
type -a yast
which yast
zypper se --match-exact yast2

And in addition to the above, please explain how you installed. There ar many possbilities.

http://i1057.photobucket.com/albums/t400/cloudthreeatl/Error%20pics/installyast.jpg](http://s1057.photobucket.com/user/cloudthreeatl/media/Error%20pics/installyast.jpg.html)

Hi ,

Actually , this is not installed in local machine , the image provide by AWS (Amazon web service), i installed it on AWS platform, thanks.

Brgds/Brandon Chau

you can either install those packages you like or ask aws how to fix it.

This is what you posted in your first post:

i remember yast should be including in OpenSUSE ?

Now when you have some installation of openSUSE, not installed ny you. you never can be certain what you have or not without checking it yourself, or asking the one that installed it.
IMHO, you should include it (and it is done by default), after all YaST is one of the main reasons for me to use openSUSE. But other people may think different and everybody can remove/add from an installation at will.

Thus when ask “should be…”, the answers can be:

  1. when you mean “is it not installed by default?”, the answer is: yes,
  2. when you mean " should AWS not have done it", then the answer is: that is something between you (customer?) and AWS (the provider?), what did you buy and what do you pay for.

In any case, it should have been nice when you had informed us in your first post that you are using a system wher ethe installation and managent history is completly unknown to you. Would have spared us a alot of amazement.

Actually, i have sent an email to AWS already , but they reply too slow…
How can i install those packages? Is possible to re-install the yast?
Thanks.

Brgds/Brandon Chau

On 2014-09-29 05:26, brandonchauhk wrote:

>
> ‘[image:
> http://i1057.photobucket.com/albums/t400/cloudthreeatl/Error%20pics/installyast.jpg]’
> (http://tinyurl.com/pugr4kx)

Please stop sending photos like that, it makes things more difficult for
us. If you absolutely need to post photos, do it on susepaste.org. No
stupid popups and activity.

Just paste the «text» here, inside a CODE TAG block. Use the ‘#’ button
in the forum editor - for command outputs and listings
http://susepaste.org/images/15093674.jpg

That you are using a putty terminal is no excuse. Even in Windows you
can copy paste text.

About your problem, you are using a hosted server. These things
intentionally remove packages and functionality from the images,
specially if big, or if they simply do not want you to use them. On some
services you simply can not update/upgrade yourself; not only they
remove things, but they add others, and they change basic things so that
they don’t work as expected.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

When such hosting services change the default system for whatever reason, they normaly do not want you to change that agian. And they do so of course by denying you the possibility to manage the system. So the big question is: do you know the root password? When not, nothing can be done except by them.

Ok ,thanks

I think the default login is root ?

ip-172-31-21-172:~ #

On 2014-09-30 05:36, brandonchauhk wrote:
>
> hcvv;2667035 Wrote:
>> When such hosting services change the default system for whatever
>> reason, they normaly do not want you to change that agian. And they do
>> so of course by denying you the possibility to manage the system. So the
>> big question is: do you know the root password? When not, nothing can be
>> done except by them.
>
>
> I think the default login is root ?

In a normal openSUSE system, there is no such thing as “default” login.
In fact, you are expected not to login as root.

> Code:
> --------------------
> ip-172-31-21-172:~ #
> --------------------

It does appear you are root there. Check by issuing “whoami” and “who am
i” (yes, they are different).


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)