Understanding Software Installation and Package Management Flashcards

1
Q

What is the underlying package manager for red hat?

A

RPM

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

What are the high level package managers for rpm?

A

yum, dnf, zypper they sit on top of rpm

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

What is the purpose of using a higher level package manager?

A

Install dependencies

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

What are the high level package managers for dpkg?

A

apt, apt-get, aptitude, synaptic

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

What Distributions use dpkg?

A

Debian, Ubuntu, Mint etc.

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

What distros use RPM?

A

Red Hat, CentOS, SUSE, etc.

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

What is the command to search for software using the rpm high level package managers?

A

sudo yum search apache

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

What is the command to install software using the rpm high level package managers?

A

sudo yum install httpd

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

What is the command to show all installed software on host?

A

sudo yum list installed

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

What command to update all packages or just one?

A

sudo yum update
sudo yum update httpd

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

What command to remove a package?

A

sudo yum remove httpd

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

What command to remove a package and all associated dependencies?

A

sudo yum autoremove

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

What command to search for apache, and then only show first 10 lines in output?

A

sudo yum search apache | head

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