How Yum Works?
How YUM works?
Yum is default package used in Linux based operating system. By default it uses SQLite database to retrieve information of available dependency of packages.
Yum use Createrpo Package to create repository of the available packages to remove dependency and createrepo create table of packages dependency in the SQLite database.
So when yum create a query to install a package
- First yum search the configuration file listed in path (/etc/yum.repos.d) what repositories are available in the system.
- Yum update the all repositories available in the configuration file to search the package available.
- When yum find the package, it resolve the dependency listed in the SQLite database.
- check-update - Check for available package updates
- distribution-synchronization - Synchronize installed packages to the latest available versions.
- version - Display a version for the machine and/or available repos.
- resolvedep - Determine which package provides the given dependency.
- list-arches - Display aggregate data on the arch attribute of a group of packages.
- list-archive-sizes - Display aggregate data on the archive size attribute of a group of packages.
- list-baseurls - Display aggregate data on the URL attribute of a group of packages.
- list-buildhosts - Display aggregate data on the build host attribute of a group of packages.
- list-committers - Display aggregate data on the committer attribute of a group of packages.
- list-groups - Display aggregate group data, for matching members.
- list-installed-sizes - Display aggregate data on the installed size attribute of a group of packages.
- list-licenses - Display aggregate data on the license attribute of a group of packages.
- list-package-sizes - Display aggregate data on the package size attribute of a group of packages.
- list-packagres -Display aggregate data on the packager attribute of a group of packages.
- list-rpm-groups - Display aggregate data on the group attribute of a group of packages.
- list-vendors - Display aggregate data on the vendor attribute of a group of packages.
Comments