From the course: Linux: Package Managers and Repositories
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Managing YUM repositories - Linux Tutorial
From the course: Linux: Package Managers and Repositories
Managing YUM repositories
- [Instructor] On a system running YUM, we can take a look at the active repositories with YUM repolist. And we can see all of the repositories listed on the system, even the disabled ones with YUM repolist all. The output here shows the short name, a descriptive name, whether or not enabled and the number of packages available in each repository. Most of the repositories listed on my system are disabled. Because they're from previous versions of the distro left in place but disabled rather than removed entirely. We can manage the repositories by working with files in the etc yum.repos.d directory. Each file represents a repository or list of repositories. Let's take a look at centOS base here. Each individual repo is listed as a stanza of text with a name, the path to the repository, information about whether to use a GPG key and the path to that key. And optionally, whether it's enabled or not. I'll move to the bottom of…
Contents
-
-
-
The RPM and YUM package managers2m 42s
-
(Locked)
Searching for a package2m 52s
-
(Locked)
Downloading a package file3m 39s
-
(Locked)
Finding package information3m 41s
-
(Locked)
Explore package dependencies1m 27s
-
(Locked)
Installing a package2m 37s
-
(Locked)
Checking what software is installed3m 15s
-
(Locked)
Installing groups of packages4m 53s
-
(Locked)
Removing a package55s
-
(Locked)
Upgrading a package4m 7s
-
(Locked)
Installing from source5m 9s
-
(Locked)
Managing YUM repositories1m 21s
-
-
-
-