basic help for a noob, plz

This is my second day trying to learn opensuse. My lack of termanology makes it very hard to google for the answers.
I need to do this,
opensuse:~ # yast2 –install postgresql-server apache2 perl texlive perl-DBD-Pg libapr-util1-dbd-pgsql

I know about yast, however this looks like something that needs to ran from terminal. Any insight will be greatly appreciated.

Well, I don’t know, but in terminal with OpenSUSE you could try the following:

sudo zypper install package

where package stands naturally for the name of the package you would like to install.

Thanks for your reply. But I am so green at opensuse that went over my head. Would explain that in such a way that I might understan that, or direct me to where I can read about it? All the reading I have done is geared for someone that has some prior knowledge. thanks

I will suppose you have opensuse running.
I also do the assumption that you are able to follow English language well, if you prefer any of the following you may tell me and we shift: Italian, German, French, Spanish.
You should be in front of your desktop. You see the lizard-start-like button on the left low corner of the screen. In “preferred” you open a terminal window.
Yast is a GUI for software installation. You can invoke it from this menu too. The only difference is that it is more comfortable to use for a user wanting to do things with the mouse.
If you want to use the command line you will not use yast. You will use an interesting (and to some way more comfortable) programme that allow the installation of software from the command line.
Any software from the command line has a help-function. You write the name of the package and write behind it --help
E.g.

zypper --help

This will give you the following output for zypper:

tilizzo:
        zypper --opzione-globale] <comando> --opzioni-del-comando] [argomenti]

  Opzioni Globali:
        --help, -h              Aiuto.
        --version, -V           Restituisce il numero della versione.
        --quiet, -q             Elimina l'output convenzionale, stampa solo i messaggi
                                di errore.

yadda, yadda, yadda… and so on and so forth.
To have a list that does respect the length of your screen you shall write:

zypper -h | less

Where the first is the command for the program** “zypper” and you tell him “zypper show me a help on what you can do”.
The "
|**" sign is called “pipe” and in Unix it serves to concatenate two different commands. E.g. you want the help but here you have too much output. So you tell the PC: hey, show me all the commands of zypper, but do not go too quick and show me screen by screen only. The pipe is to be read like “and in the same time respect / execute the following”. In order to advance in such a screen created with the command “less” you will press the space button. Every time you hit space, the list of commands will advance one screen.
You can try the difference between:

zypper -h

or

zypper -help

there should be no difference, and

zypper -h | less

which will show you the command options page by page.
Tell me if this is understandable.

Thank you so much!!! That gives me a starting point and helps alot. I think I will like the command line better than the gui. I really want to get away from microsoft :slight_smile:

Glad to hear you are happy. So the following will help you too:
A list of all Command Line Commands (alphabetical order and clickable
and this:
Since you want courses “from the scratch” this is for you I think
Cheers.

Looks like I am going to have some fun this weekend. :slight_smile: Thanks for the links.

While I apreciate your whish to learn how to do things from the command line, keep in mind that YaST (the GUI and the ncurses interface) are very usefull in many points. In the case of managing software there is a rather one to one translation to zypper because zypper is a powerfull tool itself (in handling dependencies, etc.). But for other tasks YaST does a lot “under the hood” that else you should know about and do manualy.

As an example, you can use YaST > System > Partitioning to create a parrtition, make a file system on it and mount it at the place of your choice (and letting that be done at every boot) by filling in the bits in the GUI. Alone the fact that things are asked for in the GUI makes that you do not forget about important things. And when all is filled n and you say GO, Yast Will use the equivalence of several tools and configuration fiiles (with suitable defaults) without you having to learn them all:
. fdisk
. mkfs
. mkdir
. /etc/fstab
. mount
I do not say it can’t be learned, but it is a lot to start before you can do these things without forgetting something, puzzling about what to use for parameters which YaST fiills in without asking, etc.

In short, it is fun to learn all these things, but do not forget that higher level management tools (like YaST) have their use also for system managers with years of experience.

Wow, thanks for the info. I am very open to any and all help and information. I want to learn linux inside and out.

On 10/23/2010 07:36 AM, hcvv wrote:
>
> While I apreciate your whish to learn how to do things from the command
> line, keep in mind that YaST (the GUI and the ncurses interface) are
snip

Yeah, what he said. You will see GUI use scoffed at a lot, but keep in
mind that it’s just another tool in the toolbox. What is really being
spoken against is that you get a lot of people out there that think
they know what they’re doing because they know where to click. Problem
is, they don’t really understand what’s going on ‘under the hood’. In
some cases, they can really foul up a system because they of the lack of
understanding.

Don’t not use a GUI because it takes a beating in the forums. It’s a
great tool, and often quicker, easier and more goof proof than the
command line. But do, as you use Linux more and more, begin to explore
the command line and what it can do. Where this knowledge really will
come in handy is in writing scripts to accomplish things that there
isn’t a GUI for, or large repetitive tasks, for instance resizing 1000
photos, beveling the edges of the images, and putting a copyright notice
in the lower left corner…

tservice wrote:
> I want to learn linux inside and out.

then you will be busy for a few weeks (-:


DenverD
When it comes to chocolate, resistance is futile.
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

@atftb: +10!

DenverD wrote:

> tservice wrote:
>> I want to learn linux inside and out.
>
> then you will be busy for a few weeks (-:
>
>
Or for a few years :slight_smile:
After 15 1/2 years with linux I consider myself as an amateur.
A nice introduction I want to add here which gives a good insight into linux
is still the Rute User’s Tutorial and Exposition
http://rute.2038bug.com/index.html.gz
Have much fun with linux.


openSUSE 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.5 | GeForce
9600 GT | 4GB Ram
openSUSE 11.3 64 bit | Intel Core2 Duo T9300@2.50GHz | KDE 4.5 | Quadro FX
3600M | 4GB Ram

Kevin Miller wrote:
> Don’t not use a GUI because it takes a beating in the forums.

wow, that is twice in the last week (or so) i get the hint that there
is an anti-GUI slant here (so)…i didn’t know that and don’t quite
believe it…

like everything else folks should: Use what works!

use the tool that works for you, like i always use YaST in every way i
can…but, when i wanna see what a user here is using in the way of
repos (for example) YaST is not even close to the easiest tool to use
(pastebin a jpg?? nah!)…

there are times when the GUI is best/easiest and times when the
command line is best (if not the only way, at the moment) to Use what
works!

imho, anyone who consistently bashes the GUI (or CLI) is out to lunch!


DenverD
When it comes to chocolate, resistance is futile.
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

DenverD wrote:
>
> imho, anyone who consistently bashes the GUI (or CLI) is out to lunch!
>
I am not sure if use of the gui is really bashed here in this forum, I
cannot really remember a post which does it (but I do not know all posts of
course). I more often see that elsewhere in some other forums if someone
does not like opensuse.
Use of the command line is here often recommended simply because it is
easier to post a command like “zypper in something” instead of describing
all the buttons you have to click to do the same with the yast gui.
Maybe it is a simple misunderstanding of the intention when someone posts a
cli command.

hcw wrote:
> While I apreciate your whish to learn how to do things from the command
> line, keep in mind that YaST (the GUI and the ncurses interface) are
> very usefull in many points.

+1, since the yast gui makes standard administration tasks simple and still
does not come into your way if you prefer the command line, it is IMO one of
the strongest points in opensuse to have the choice between cli and gui for
many things


openSUSE 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.5 | GeForce
9600 GT | 4GB Ram
openSUSE 11.3 64 bit | Intel Core2 Duo T9300@2.50GHz | KDE 4.5 | Quadro FX
3600M | 4GB Ram

Martin wrote: Use of the command line is here often recommended simply because it is
easier to post a command like “zypper in something” instead of describing
all the buttons you have to click to do the same with the yast GUI.
Maybe it is a simple misunderstanding of the intention when someone posts a
cli command.

I am quite surprised. When the OP posted, he seamed not having a pale idea about yast and all the rest. But it seamed he was interested in installing a well defined list of applications in order to have a working system.
The excerpt of applications and the way the OP expressed himself made me think of a foreign IT student searching for a solution for a exercise given to him. A “noop” that does use only the GUI and installs the postgress, apache and texlife plus perl did not seem so “noop” to me. The best solution in terms of giving input was:
you may use the GUI (but this may even be more difficult to explain) but you may also teach him a way to install in a easy way from the command line using zypper. This because he will get easier to a solution having a fixed list of applications to install. I am honestly used to people who “show of” with their command line knowledge, in a way you have the expression that they are happy to see you while they are doing it. Very often without minimally explaining what they are doing (e.g. not explaining what “to pipe” means, although they could know very well, that the person they are writing to, with all probability does not understand. So the idea was to give the OP something more and to give him links for having more infos, not only about CL commands but also about Linux.
Personally I enjoyed very much Martins input for the “Rute” guide, a nice idea, compliments, I forgot about the book. There is also a nice OpenBook about Linux that is very delightful giving good insights, (but unfortunately it is in German and the OP did not seam to be of German language).

So this is it, not CL against GUI logic or ideology. But wow, how much fictive conflict.
Personally I am using 90 % Yast for doing things, but I admit that the CL is a very nice tool (once you have the knowledge to use it) and if one invests 20 minutes every day for one year on it (which is a LOT of time) then you getting a great guru. For the rest I think it would be good to know how to do things to avoid damage. So I do not think there is any anti GUI or PRO/ANTI CLI movement. Just people you are trying to help…and bystanders (generally innocent :wink: ).
How was it…have a lot of FUN, isn’t it?

On 10/24/2010 01:06 AM, DenverD wrote:
> Kevin Miller wrote:
>> Don’t not use a GUI because it takes a beating in the forums.
>
> wow, that is twice in the last week (or so) i get the hint that there
> is an anti-GUI slant here (so)…i didn’t know that and don’t quite
> believe it…

I’m not clear from your response whether you caught the gist of what I
was saying there. I wasn’t panning the GUI - I was saying to use the
best tool for the job, whether others agree with that tool use or not.

It’s not so much an anti-GUI bias here, but maybe an impression in the
Linux world in general that if you aren’t a CLI master you’re not a
‘real’ Linux user. More a subtle undercurrent than an explicit declaration.

> like everything else folks should: Use what works!

Exactly what I was trying to convey.

> use the tool that works for you, like i always use YaST in every way i
> can…but, when i wanna see what a user here is using in the way of
> repos (for example) YaST is not even close to the easiest tool to use
> (pastebin a jpg?? nah!)…
>
> there are times when the GUI is best/easiest and times when the
> command line is best (if not the only way, at the moment) to Use what
> works!
>
> imho, anyone who consistently bashes the GUI (or CLI) is out to lunch!

Agreed…

…Kevin

Kevin Miller - http://www.alaska.net/~atftb
Juneau, Alaska
In a recent survey, 7 out of 10 hard drives preferred Linux
Registered Linux User No: 307357, http://counter.li.org

Hello all. As you all know I am a nood to Linux, so please go easy on me. :slight_smile: Stakanov you are correct. I am trying to install “a well defined list of applications in order to have a working system.” and i guess I am foreign, I am in the USA but not a student. I think the easiest way for me to learn is hands on along with alot of reading. I hope that by installing the apps that I will be using on a daily basis, surely this willl help me to gain more insight how Linux works (please give me opinion on that). I don’t expect my endeavor to be very easy, but is necessary. I work on medical imaging equipment, and microsoft is starting to be a very big pain in my side. I just wish I had started down this road years ago. Sorry to ramble on.

tservice wrote:
> Sorry to ramble on.

and what was your question?
or, did anyone answer your question?

have you yet figured out how to install apache/etc?


DenverD
When it comes to chocolate, resistance is futile.
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

No question right now, still reading. I can install via yast but not sure yet what all needs to be installed alone with it.
Why is there a debate or command line vs gui? Do they both not have there own place?