Chapter 2 Flashcards

1
Q

Packages

A

collection of files that are installed on the computer. Once installed, most of these contain many many files

49

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

Dependency Information

A

requirements of packages for one another

49

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

Checksums

A

Used to verify or validity of the software. Intended to help spot disk errors

49

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

RPM

A

RPM Package Monitor… because Linux loves terrible recursive acronyms

Most popular package monitor in Linux. It can even be used in some Unix systems

50

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

Distros of Red Hat

A

Red Hat - for pay enterprise
CentOS - Free enterprise
Fedora - Basic home version

50

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

Filename Components

A

Package Name
Version Number
Build Number
Architecture

51

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

Yum

A

one of several meta-packagers. It enables you to install a package and all its dependencies easily using a single command line

57

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

rpm operand

-i

A

Installs a package

53

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

rpm operand

-U

A

Installs a new package or upgrades an existing one

53

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

rpm operand

-F or –freshen

A

Upgrades a package only if an earlier version already exists

53

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

rpm operand

-q

A

Queries a package… is it installed? what files does it contain?

53

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

rpm operand

-V or –verify

A

Verifies a package and checks that its files are present and unchanged since installation

53

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

rpm operand

-e

A

Uninstalls a package

53

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

rpm operand

-b

A

Builds a binary package, given source code and configuration files

53

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

rpm operand

–rebuild

A

Builds a binary package, given a source RPM file; moved to the rpmbuild program with RPM v4.2

53

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

rpm operand

-rebuilddb

A

Rebuild the RPM database to fix errors

53

17
Q

rpm option

–root dir

A

Modifies the Linux systems having a root directory located at dir. This option can be used to maintain one Linux installation discrete from another one

53

18
Q

rpm option

–force

A

Used with operands -i, -U, -F

Forces installation of a package even when it means overwriting existing files or packages

53

19
Q

rpm option

-h or –hash

A

Used with operands -i, -U, -F

Displays a series of hash marks (#) to indicate the progress of the operation

54

20
Q

rpm option

-v

A

Used with operands -i, -U, -F

Used in conjunction with the -h option to produce a uniform number of hash marks for each package

54

21
Q

rpm option

–nodeps

A

Used with operands -i, -U, -F, -e

Specifies that no dependency checks be performed. Installs or removes the package even if it relies on a package or file that’s not present or is required by a package that’s not being uninstalled

54

22
Q

rpm option

–test

A

Used with operands -i, -U, -F

Checks for dependencies, conflicts, and other problems without actually installing the package

54

23
Q

rpm option

–prefix path

A

Used with operands -i, -U, -F

Sets the installation directory to path(works only for some packages)

54

24
Q

rpm option

-a or –all

A

Used with operands -q, -V

Queries or verifies all packages

54

25
Q

rpm option

-f file or –file file

A

Used with operands -q, -V

Queries or verifies the package that owns file

54

26
Q

rpm option

-p package-file

A

Used with operand -q

Queries the uninstalled RPM package-file

54

27
Q

rpm option

-i

A

Used with operand -q

Displays package information, including the package maintainer, a short description, and so on

54

28
Q

rpm option

-R or –requires

A

Used with operand -q

Displays the packages and files on which this one depends

54

29
Q

rpm option

-l or –list

A

Used with operand -q

Displays the files contained in the package

54