Link to home
Start Free TrialLog in
Avatar of AXISHK
AXISHK

asked on

Install package on Centos

How to list what package are available a local Centos 6 for installation ?
How to install a package on Centos 6 ?
Any simple guideline or example on download a pacakge from internet that require compile and prepare a make file before installation ?

Many thanks.
SOLUTION
Avatar of woolmilkporc
woolmilkporc
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Apart from using Yum as mentioned above, you can also use CentOS' GUI utility, "Add/remove Software". That is a GUI frontend to Yum. Or what I prefer is Yumex, another frontend to Yum, but that you usually have to install first (yum install yumex).
Avatar of AXISHK
AXISHK

ASKER

What is the different of using Yum and rpm to install the packages ?

If I need to upgrade the Centos OS, what's step involved ?

As a system administrator, I believe it may be worth to have some knowledge on how to complile a source code to the rpm package as I was told that some application may not be compile into Centos OS ?

There is no GUI on our Centos and I need to know the command.

Thanks
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of AXISHK

ASKER

Does it also apply to Red Hat ?

Thanks
Yes, Yum is a Red-Hat (Fedora) utility. CentOS is just a clone of Red-Hat, but free. If you use a trial version of Red-Hat you have access to their repos during the trial period so you can use yum during that time. To use it after it has expired, you need to pay subscriptions to Red-Hat. With CentOS you don't have to pay a subscription to use yum.
Avatar of AXISHK

ASKER

Tks