Enable DNF Software Repositories Flashcards
1
Q
What command adds a custom packages repository?
A
dnf config-manager –add-repo “URL”
2
Q
What command is used to examime created software repository files?
A
vim /etc/yum.repos.d/<Repo></Repo>
3
Q
What command creates the errata.rep file to enable the updates repository?
A
vim /etc/yum.repos.d/errata.repo
4
Q
What command lists all repositories on the system?
A
dnf repolist all
5
Q
What command disables a repository?
A
dnf config-manager –disable <repository></repository>
6
Q
What command enables a repository?
A
dnf config-manager –enable <repository></repository>
7
Q
What command updates all software packages?
A
dnf update