Ch 9 Flashcards

1
Q

Key Options in .repo files: [label]

A

contains the label used as an identifier in the repository file

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

Key Options in .repo files: name=

A

Mandatory option that specifies the name of the repository

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

Key Options in .repo files: mirrorlist=

A

Optional parameter that refers to a URL where information about mirror servers for this server can be obtained. Typically used for big online repositories only

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

Key Options in .repo files: baseurl=

A

Mandatory option that refers to the base URL where the RPM packages are found

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

Key Options in .repo files= gpgcheck=

A

Set to 1 if a GNU privacy guard (GPG) integrity check needs to be performed on the packages. IF set to 1, a GPG key is required

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

Key Options in .repo files: gpgkey=

A

Specifies the location of the GPG key that is used to check package integrity

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

dnf tasks: search

A

Search packages for a string that occurs in the package name or summary

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

dnf tasks: search all

A

Search packages for a string that occurs in the package name, summary or description

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

dnf tasks: [what]provides*/name

A

Perform a deep search in the package to look for specific files within the package

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

dnf tasks: info

A

Provice more information about the package

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

dnf tasks: install

A

install the package

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

dnf tasks: remove

A

remove the package

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

dnf tasks: list [all] |installed|

A

list all or installed packages

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

dnf tasks: group list

A

list package groups

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

dnf tasks: group install

A

install all packages from a group

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

dnf tasks: update

A

update packages specified

17
Q

dnf tasks: clean all

A

remove all stored metadata

18
Q

Module Terminology: RPM

A

The default package format. Contains files, as well as metadata that describes how to install the files. Optionally may contain pre and post installation scripts as well

19
Q

Module Terminology: Module

A

A delivery mechanism to install RPM packages. In a module, different versions and profiles can be provided

20
Q

Module Terminology: Application Stream

A

a specific version of the module

21
Q

Module Terminology: Profile

A

A collection of packages that are installed together for a particular use case

22
Q

RPM Query Commands: rpm -qf

A

Uses a filename as its argument to find the specific RPM package a file belongs to

23
Q

RPM Query Commands: rpm -ql

A

Uses the RPM database to provide a list of files in the RPM package

24
Q

RPM Query Commands: rpm -qi

A

Uses the RPM database to provide package information (equivalent to yum info)

25
Q

RPM Query Commands: rpm -qd

A

Uses the RPM database to show all documentation that is available in the package

26
Q

RPM Query Commands: rpm -qc

A

Uses the RPM database to show all configuration files that are available in the package

27
Q

RPM Query Commands: rpm -q –scripts

A

Uses the RPM database to show scripts that are used in the package. This is particularly useful if combined with the -p option

28
Q

RPM Query Commands: rpm -qp <pkg></pkg>

A

The -p option is used with all the previously listed options to query individual RPM package files instead of the RPM package database. Using this option before installation helps you find out what is actually in the package before it is installed

29
Q

rpm -qR

A

Shows dependencies for a specific package

30
Q

rpm -V

A

Shows which parts of a specific package have been changed since installation.

31
Q

rpm -Va

A

Verifies all installed packages and shows which parts of the package have been changed since installation. This is an easy and convenient way to do a package integrity check

32
Q

rpm -qa

A

Lists all packages that are installed on the server