Using RPM and DEB Flashcards

1
Q

How do you update the list of available packages using dnf?

A

dnf check-update

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

How do you upgrade every package using dnf?

A

sudo dnf upgrade

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

How do you search for a package using dnf?

A

dnf search [package_name]

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

How do you get the info of a package using dnf?

A

dnf info [package_name]

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

How do you install a package using dnf?

A

sudo dnf install [package_name]

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

How do you update the list of available packages using apt?

A

sudo apt update

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

How do you upgrade every package using apt?

A

sudo apt upgrade

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

How do you remove legacy packages using apt?

A

sudo apt autoremove

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

How do you search for a package using apt?

A

apt search [package_name]

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

How do you get the info of a package using apt?

A

apt show [package_name]

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