![]() Mirrorlist=$releasever&arch=$basearch&repo=BaseOS&infra=$infra Here is a sample repo configuration file: You can also configure your own repository.Based on this parameter, yum will query the repository for available packages. The repo configuration file include repo name, repo path, gpg check and enabled parameter.By default all the repository files are configured inside /etc/ with. All supported Linux distributions come with their own set of repositories.So you must have a repository to be able to use yum.YUM is basically a package management tool which relies on repositories to look for packages for install/update/downgrade/remove purpose. ![]() Enter the yum shell with yum commandĪLSO READ: 5+ lvscan command examples in Linux Execute yum command without YES/NO prompt yum command to undo all transactions up to the specified transaction View the history of all the yum command executed on the node Find which rpm package provides a specific file Disable specific repository for runtime execution Enable specific repository for runtime execution List currently enabled repositories with yum command List all group packages using yum command yum command to download package instead of installing yum command to check the available updates of packages yum command to get information of a package yum command to get the list of a specific package List all the installed packages with yum command yum command to get the list of all packages yum command to search a package from available repositories yum command to update a package and its dependencies Remove a package and it’s dependencies using yum command ![]() Install a package along with it’s dependencies using yum command
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |