Wednesday, February 6, 2008

yum in Linux

All about YUM ....


To install ‘xorg’ package, the syntax would be: # yum install ‘package name’

# yum install xorg

To uninstall ‘xorg’ package, the command would be: # yum remove ‘package name’

# yum remove xorg

To update ‘xorg’ package, the command would be: # yum update ‘package name’

yum update xorg-x11-filesystem


To have some fun with yum, try

yum list "*ssh*" # lists packages that have "ssh" in the name
chkconfig yum on # make yum update all programs every night
yum remove up2date # remove a program, dependencies handled
yum -y install curl # -y answers "yes" to all questions


N'joy,,,

No comments: