From the course: CompTIA Linux+ (XK0-005) Cert Prep
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Manage DNF repositories - Linux Tutorial
From the course: CompTIA Linux+ (XK0-005) Cert Prep
Manage DNF repositories
- [Instructor] DNF repository configuration information is stored in /etc/yum.repos.d. DNF still uses the same directory that Yum did in the past. Let's cd there and look around. Type in cd /etc/yum.repos.d, and hit Enter, and then type in ls. All repository files in this directory have to end in .repo. If they don't, DNF will ignore them. Let's view a repository file. I'm using Rocky Linux. If you're using a different enterprise Linux distribution, your repositories may be named differently. Type in cat rocky.repo, and hit Enter. There are eight repositories in this one file. We'll focus on the baseos repository near the top. Each repository name is in square brackets. The next line down is the descriptive name of the repository. The third line is the list of repository mirrors. DNF will try to find the fastest mirror to use. The fourth line is commented out. If there was not a mirror list, then the repository would…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
Software management systems overview5m 52s
-
(Locked)
DNF overview3m 2s
-
(Locked)
Get DNF packages by name4m 9s
-
(Locked)
Get info on packages with DNF4m 9s
-
(Locked)
Get info on package groups with DNF3m 13s
-
(Locked)
Search for packages with DNF1m 34s
-
(Locked)
Install and remove packages with DNF4m 7s
-
(Locked)
Install and remove package groups with DNF2m 33s
-
(Locked)
Get package information with RPM8m 15s
-
(Locked)
Manage DNF repositories5m 32s
-
(Locked)
Manage OS updates5m 50s
-
(Locked)
Update the kernel5m 30s
-
(Locked)
Manage kernel modules4m 50s
-
(Locked)
Get package information with dpkg and APT5m 40s
-
(Locked)
Manage software with dpkg and APT3m 55s
-
(Locked)
Work with APT repositories8m 2s
-
(Locked)
Install software from source4m 58s
-
(Locked)
About sandboxed applications8m 44s
-
-
-
-
-
-
-
-
-
-
-