Package Management (APT) Flashcards

1
Q

What command is used to refresh package lists?

A

sudo apt update

This command retrieves the latest package information from the repositories configured on the system.

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

What does the command ‘sudo apt upgrade’ do?

A

Upgrade all installed packages

This command upgrades all the installed packages to their latest available versions.

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

How do you install a package using apt?

A

sudo apt install <package></package>

Replace <package> with the name of the package you want to install.</package>

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

What is the command to remove a package?

A

sudo apt remove <package></package>

Replace <package> with the name of the package you wish to remove.</package>

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