What is command to setup sofware in redhat over internet

Hi all, I setup redhat in VMware and I connected to internet, so I want setup sofware for redhat over internet what is command I used ? Are you understand my question, my ability of english is not good, such as I want setup dhcp packet I must used a command ? (yum... or...apt-get...or rpm... ? thank for help.

Basically you use "rpm" (Redhat Package Manager) to install/deinstall software.

"yum" is just a frontend for "rpm", which makes the usage of "rpm" easier, but basically using "yum" is the same as using "rpm".

You can define "software repositories" for yum (in /etc/yum.repos.d) - sources of packages yum will automatically query when it is asked to install software. I suggest using "yum" (it makes life easier for you) and i also suggest you get a beginners how-to in your native language prior to that - i am pretty sure there is something like that out there in the net.

Be aware that changing the package configuration can frag a system pretty fast, so you better get some basic understanding before you attempt to do anything.

I hope this helps.

bakunin

oh I very sad that I don't have a key, or RHN subscription so I can't install it. fall in redhat

Just install CentOS then. It is built from the same SRPMs as Red Hat is.

Well, you can still make a local yum repository with the RPMs supplied with your installation DVD. You do not need to subscribe for that.
There are lots of articles on how to setup a local yum repo. Just google for it.
Here is a video on YouTube about the same:
How to setup a local YUM repository on RHEL6