Brainscape DNF Flashcards

1
Q

with dnf, uninstall a package

A

dnf remove PACKAGE

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

with dnf, update a specific package

A

dnf update PACKAGE

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

with dnf, update all packages and security updates

A

dnf update

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

with dnf, find out what package a specific file belongs to

A

dnf provides FILEPATH

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

with dnf, list all installed packages

A

dnf list installed [| less]

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

with dnf, look for a package even if you don’t know the exact name

A

dnf search PACKAGE

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

with dnf, show information and details about a specific package (before installing it)

A

dnf info PACKAGE

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

with dnf, show all enabled repositories on your system, show all enabled and disabled

A

dnf repolist dnf repolist all (you can also use the –enabled or –disabled flags to specify which you want to see, default is just to show you enabled)

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

with dnf, clean up cache to free up space

A

dnf clean all

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