Yum Flashcards

1
Q

How do you check the list of packages available for updates?

A

yum list updates

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

How do you install package?

A

yum install {package name}

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

What and where is the main yum config file?

A

/etc/yum.conf

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

How do you list installed packages?

A

yum list | less

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

How do you list package matching string “curl”?

A

yum list curl

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

How do you find out what OS version is installed?

A

yum list centos-release

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

How do you display the details of a package?

A

yum info {package name| curl}

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

How do you search for a package?

A

yum search curl

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

How do you locate a package that contains a specific executable?

A

yum whatprovides /etc/yum.conf

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

How do you view package dependencies?

A

yum deplist {package name}

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

How do you check for updates?

A

yum check-update

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

How do you update outdated packages?

A

yum update

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

How do you clean yum cache?

A

yum clean all

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

What is yum cache?

A

The yum package manager maintains a cache of headers and files in /var/cache/yum. This cache can grow rather large over time, and can be cleaned with the yum “clean” option:

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