YUM (Yellowdog Updater Modified) is an open source command-line as well as graphical based package management tool for RPM (RedHat Package Manager) based Linux systems. It allows users and system administrator to easily install, update, remove or search software packages on a systems. YUM uses numerous third party repositories to install packages automatically by resolving their dependencies issues.
1. Installing a Package using YUM
# yum install <package_name>
eg:
#yum install httpd
2. Updating a Package using YUM
# yum update <package_name>
3. Removing a Package
# yum remove <package_name>
4. List a Package
# yum list <package_name>
5. Search for a package
# yum search <package_name>
6. Getting information about a package
# yum info <package_name>
7. List all packages
# yum list all | less
8. List installed packages
# yum list installed
9. YUM provides
Yum provides function is used to find which package a specific file belongs to. For example, if you would like to know the name of the package that has the /etc/httpd/conf/httpd.conf
# yum provides /etc/httpd/conf/httpd.conf
10. Update system using YUM
# yum update
11. List enabled YUM repositories
# yum repolist
12. Install a Package from Specific Repository
## yum --enablerepo=epel install phpmyadmin
13. Interactive yum shell
# yum shell
13. Cleaning YUM cache
# yum clean all
14. View history of YUM
# yum history
##########HOPE THIS WORK FOR YOU###############
~SHUBHAM
No comments:
Post a Comment