Brainscape_YUM_Flash_Cards_CSV Flashcards

1
Q

What package format does Debian use?

A

.deb

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

What package format does Ubuntu use?

A

.deb

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

What package format does CentOS use?

A

.rpm

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

What package format does Fedora use?

A

.rpm

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

What are four popular package management tools used by Debian and Ubuntu?

A
  1. apt 2. apt-cache 3. apt-get 4. dkpk
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What package management tools does CentOS and RHEL use?

A

Yum

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

What package management tools does Fedora use?

A

dnf

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

What does APT stand for?

A

Advanced Packaging Tool

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

What utility does APT “front-end”?

A

dpkg

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

What utility actually does the installation of the .deb files?

A

dpkg

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

How is the apt command different than the apt-get or apt-cache commands?

A

The ‘apt’ command offers a unified interface that can replace both the apt-get and apt-cache commands.

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

What packaging system is DNF a ‘fork’ of?

A

Yum

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

What is the command syntax to update the package list on Debian or Ubuntu?

A

sudo apt-get update

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

What is the command syntax to update the package list on CentOS and RHEL?

A

yum check-update

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

What is the command syntax to update the package list on Fedora?

A

dnf check-update

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

What are two commands to upgrade installed packages (on Debian-based system), where possible?

A

sudo apt-get upgrade or sudo apt upgrade

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

What are two commands to upgrade installed packages and add or remove packages to satisfy new dependences (on Debian-based system)?

A

sudo apt-get dist-upgrade or sudo apt full-upgrade

18
Q

What is the command to upgrade installed packages on RHEL-based systems?

A

sudo yum update

19
Q

What is the command to upgrade installed packages on Fedora systems?

A

sudo dnf upgrade

20
Q

What are two commands to search for packages on Debian-based systems?

A

apt-cache search [search string] or apt search [search string]

21
Q

What is the command to search for a package on CentOS?

A

yum search [search string]

22
Q

What is the command to search ALL fields (including description) on CentOS?

A

yum search all [search string]

23
Q

What is the command to search for a package on Fedora?

A

dnf search [search string]

24
Q

What is the command to search ALL fields (including description) on Fedora?

A

dns search all [search string]

25
Q

What are the two commands to show locally-cached info about a package on a Debian-based system?

A

apt-cache show [package] or apt show [package]

26
Q

What is the command to show the current installed status of a package on a Debian-based system?

A

dpkg -s [package]

27
Q

What is the command to show information about a package that is either installed or in a repo on CentOS?

A

yum info [package]

28
Q

What is the command to list the dependencies of a package on CentOS?

A

yum deplist [package]

29
Q

What is the command to show information about a package that is either installed or in a repo on Fedora?

A

dnf info [package]

30
Q

What is the command to list the dependencies of a package on Fedora?

A

dnf repoquery –requires [package]

31
Q

What are two commands to install packages on a Debian-based system?

A

sudo apt-get install [package] or sudo apt install [package]

32
Q

What are two commands to install more than one package at a time on a Debian-based system?

A

sudo apt-get install [package1] [package2] or apt install [package1] [package2]

33
Q

What is the command to install a package on a Debian-based system without being prompted to approve the installation?

A

sudo apt-get install -y [package] or sudo apt install -y [package]

34
Q

What is the command to install a package on a Debian-based system so it will show a colored progress bar?

A

sudo apt install [package]

35
Q

What is the command to install a package on CentOS?

A

sudo yum install [package]

36
Q

What is the command to install more than one package at a time on CentOS?

A

sudo yum install [package1] [package2]

37
Q

What is the command to install a package on CentOS without being prompted for approval?

A

sudo yum install -y [package]

38
Q

What is the command to install a package on Fedora?

A

sudo dnf install [package]

39
Q

What is the command to install more than one package at a time on Fedora?

A

sudo dnf install [package1] [package2]

40
Q

What is the command to install a package on Fedora without being prompted for approval?

A

sudo dnf install -y [package]