Enable DNF Software Repositories Flashcards

1
Q

What command adds a custom packages repository?

A

dnf config-manager –add-repo “URL”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What command is used to examime created software repository files?

A

vim /etc/yum.repos.d/<Repo></Repo>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What command creates the errata.rep file to enable the updates repository?

A

vim /etc/yum.repos.d/errata.repo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What command lists all repositories on the system?

A

dnf repolist all

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What command disables a repository?

A

dnf config-manager –disable <repository></repository>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What command enables a repository?

A

dnf config-manager –enable <repository></repository>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What command updates all software packages?

A

dnf update

How well did you know this?
1
Not at all
2
3
4
5
Perfectly