Full form of YUM is Yellowdog Updater Modified. It is default package manager, mainly use for installation work.
Synopsis
-Y is option (-y=yes)
install is command
php is package
Install PHP
Update PHP
Remove PHP
Search for a package to be installed
Show information about package
Show all available package
Show all installed package
Install a new software group
Remove new software group
Update software group
List all software group
Synopsis
yum [options] [command] [package]Here
yum -y install php
-Y is option (-y=yes)
install is command
php is package
Install PHP
$ yum install php
Update PHP
yum update php
Remove PHP
$ yum remove php
Search for a package to be installed
$ yum search php
Show information about package
$ yum info php
Show all available package
$ yum list | less
Show all installed package
$ yum list installed
$ yum list installed | less
Install a new software group
$ yum groupinstall 'DNS Server'
Remove new software group
$yum groupremove 'DNS Server'
Update software group
$ yum groupupdate 'DNS Server'
List all software group
$ yum grouplist
0 Comment:
Post a Comment