Thursday, 13 February 2014

Rpm vs Yum

Rpm vs Yum

 What  is YUM

The Yellow Dog Updater Modified(YUM)  is  a  Package  management  application  for computers  running  Linux  Kernel  based  Distribution/Linux  Operating  Systems. Yum  is  a  standard  method  of  managing  the  installation  and  removal  of  software package. We  can  install  or  remove  any  Package  through  rpm  command  but  rpm ask  for  dependency . It  will  be  very  hard  task  to  install  each  dependency manually. YUM is  Pre-requirement   of  any  Server.  If Administrator  want  to  create any  Server  such  as  web  Server  or  any  other  then  firstly  they  need  to  create YUM  because  YUM  is  used  to  install/remove  any  Package .
-----------------------------------------------------------------
There are two types of Yum repositories :-
-----------------------------------------------------------------
1. Online Yum repository
2. Offline Yum repository 

Online  Yum  repository  used  to  update/install  package  through  any  webContent.
Offline  Yum  repository  used  to  update/install package through your local repository.

                                                      RPM vs. YUM
Rpm stands for Redhat package management. rpm command is used to Install or remove  any package in Redhat Linux Operating System. we can install or remove any rpm package through rpm command. but in most cases one package is depend on many other rpm package so firstly we will install related If  we  want  that  system  find  all  dependencies  automatically  then  we  should  create YUM (yellow dog updater modified). YUM  find  out  all  dependencies  automatically  and  install package  that  you  want.
  we  use YUM  to  resolve  dependencies  and  install required Package.

To install Package                  rpm   -ivh PackageName
To remove Package               rpm -e PackageName
To query Package                  rpm –qa PackageName
To query Package detail         rpm –qi   PackageName    
To query of any  file               rpm -qf  filename
To Upgrade Package              rpm -U PackageName

No comments:

Post a Comment

RADIUS Server Configure in Server 2012

Home About Me Apple Networking Software Storage Downloads Links Contact How to setup Radius for authentication wi...