Use RPM and YUM package management Flashcards

1
Q

What is yum

A

Yellowdog Updater, Modified
-Originally used for the Yellowdog Linux distro
Handles RPM package dependencies
Installs,Upgrades, and removes packages
Used on Red Hat Enterprise Linux, CentOS, Scientific Linux, and older versions of fedora

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

Where is the yum config file stored

A

/etc/yum.conf

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

Where does yum gets repository information from

A

/etc/yum.repos.d/

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

What distro is the Zypper RPM package manager on

A

SUSE Linux ditros

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

What is the (DNF) Dandified yum package manager on

A

Fedora Linux distro

Future replacement for yum in RHE Linux

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

What does the command yum update do

A

Searches online repositories for updated packages compared to what is currently installed on the system, upgrades packages

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

what does the command yum search do

A

Searches the yum repositories for a specified package

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

What does the command yum info do

A

Displays all installed packages

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

What does the command yum clean all do

A

Cleans up all of yums cache info and its local database file

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

What does the command yum install do

A

installs a specified package and all of its dependicies

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

What does the command yum remove do

A

Uninstalls a package and its dependencies

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

what does the command yum whatprovides do

A

Find out what package provides a specified file name

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

What does the command yum reinstall do

A

Reinstalls a specified package

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

What does the (.rpm) Red Hat Package Manager contain

A

Apps or utility
Default config files
How and where to install the file that come with the package
Listing of dependencies that the package requires

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

Where is the rpm database located

A

/var/lib/rpm

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

What command do you use to repair corrupted rpm database

A

rpm –rebuilddb

17
Q

What does the command rpm -qpi do

A

Displays info on a package

18
Q

What does the command rpm-qpl do

A

Lists files in a package

19
Q

What does the command rpm -qa

A

Lists out all installed packages

20
Q

What does the command rpm -i

A

installs a specified package, often combnined with other options to provide more verbose output, i.e rom -ivh

21
Q

what does the command rpm -U do

A

Upgrades an installed package with a newer version

22
Q

what does the command rpm -e do

A

Uninstalls (erases) an installed package

23
Q

what does the command rpm -Va do

A

Verify all installed packages

24
Q

what does the commadn rpm2cpio do

A

Converts an .rpm file into a cpio archive file, often combined with the cpio command