Ch 9 Flashcards
Key Options in .repo files: [label]
contains the label used as an identifier in the repository file
Key Options in .repo files: name=
Mandatory option that specifies the name of the repository
Key Options in .repo files: mirrorlist=
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
Key Options in .repo files: baseurl=
Mandatory option that refers to the base URL where the RPM packages are found
Key Options in .repo files= gpgcheck=
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
Key Options in .repo files: gpgkey=
Specifies the location of the GPG key that is used to check package integrity
dnf tasks: search
Search packages for a string that occurs in the package name or summary
dnf tasks: search all
Search packages for a string that occurs in the package name, summary or description
dnf tasks: [what]provides*/name
Perform a deep search in the package to look for specific files within the package
dnf tasks: info
Provice more information about the package
dnf tasks: install
install the package
dnf tasks: remove
remove the package
dnf tasks: list [all] |installed|
list all or installed packages
dnf tasks: group list
list package groups
dnf tasks: group install
install all packages from a group
dnf tasks: update
update packages specified
dnf tasks: clean all
remove all stored metadata
Module Terminology: RPM
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
Module Terminology: Module
A delivery mechanism to install RPM packages. In a module, different versions and profiles can be provided
Module Terminology: Application Stream
a specific version of the module
Module Terminology: Profile
A collection of packages that are installed together for a particular use case
RPM Query Commands: rpm -qf
Uses a filename as its argument to find the specific RPM package a file belongs to
RPM Query Commands: rpm -ql
Uses the RPM database to provide a list of files in the RPM package
RPM Query Commands: rpm -qi
Uses the RPM database to provide package information (equivalent to yum info)