Install and Update Software Packages with DNF Flashcards

1
Q

What command searches for packages?

A

dnf search <name></name>

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

What command obtains information about a package?

A

dnf info <package></package>

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

What command installs a package?

A

dnf install <package></package>

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

What command removes packages?

A

dnf remove <package></package>

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

What command lists all available component groups?

A

dnf group list

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

What command provides information about a component group such as included packages?

A

dnf group info “Component Group”

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

What command is used to install a Component Group?

A

dnf group install “Component group”

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

What command is used to explore history and undo options of the dnf command?

A

dnf history

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

What command confimrs the transaction of a group installation?

A

dnf history info <Transaction></Transaction>

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

What command is used to undo previous transactions in history?

A

dnf history undo <transaction id #>

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

What command checks for rpm packages?

A

rpm -q -p <rpm> -i</rpm>

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

What command installs rpm packages?

A

dnf install <rpm></rpm>

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

What command verifies rpm package is installed?

A

rpm -q <specified-script></specified-script>

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