yum Flashcards

1
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
2
Q

How do you update all packages without prompt?

A

yum update -y

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

How do you search for packages using name and description?

A

yum search

*searches all if none found

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

How do you search for packages using description, name, summary, details and urls?

A

yum search all

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

How do you get information about a specific package

A

yum info

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

How do you install a package?

A

yum install

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

How do you get a list of installed packages?

A

yum list installed

yum list installed {package}

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

How do you get the package responsible for creating a specific directory?

A

yum provides {direcotry}
yum whatprovides {directory}
i.e yum provides /var/www/

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

How do you remove a package?

A

yum remove {package}

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

How do you clean cache for packages?

A

yum clean all

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

How do you remove a package including configuration files?

A

yum autoremove

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

How would you download a yum package?

A

yumdownloader {package}

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

How would you install an rpm package using yum?

A

yum localinstall

*automatically looks for dependencies

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

How would you update the kernel version using yum?

A

yum upgrade

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

How do you search for all yum groups?

A

yum grouplist

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