YUM In RHEL 7:
YUM (Yellowdog Updater Modified) is the package management tool that helps you to install or update the package through the network or local, at the same time it provides easy method to install a package with it’s dependent packages.
Yum Configuration files are under the /etc/yum.conf that contains the global options such as cache directory,log directory.
YUM Command:
1. To install a package-
#yum install <Package Name>
example: #yum install firefox
2.To remove a package-
#yum remove <Package Name>
example: #yum remove firefox
3. To updating package-
#yum update <Package Name>
example: #yum update firefox
4.Use the list function to search for the specific package with name:
#yum list <Package Name>
example: #yum list sshd
5. If you don’t remember the exact name of the package, then use search function to search all the available packages to match the name of the package you specified.
#yum search <Package Name>
example: #yum search open ldap
6. To get information of a package:
#yum info <Package>
example: #yum info firefox
7. To list all available Packages:
#yum list installed
8. To check for available updates:
#yum check-updates
9. To install a Group Package:
#yum groupinstall <Package Name>
10. To update a Group Package:
#yum groupupdate <package name>
11. To remove the group package:
#yum groupremove <package name>
12. To view Yum History:
#yum history
#
No comments:
Post a Comment