Installing and updating software packages Flashcards

1
Q

Where the repos reside?

A

/etc/yum.repos.d/

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

Where to find repo examples?

A

man yum.conf

/example

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

Query all installed packages

A

rpm -qa

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

Queries a list of files associated with a package

A

rpm -ql postfix

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

Query information on a package

A

rpm -qi postfix

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

Query an existing file on the system and return the package and it belongs to

A

rpm -qf /etc/postfix/sasl_password

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

Loop mount the ISO

A

/root/DVD.iso /mnt iso9660 defaults,loop 0 0

mount -o loop /root/dvd.iso /mnt

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