102.4 Use Debian Package Managment Flashcards

1
Q

What is the advanced package tool?

A

APT

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

On a Debian system how do you find which repositories are available

A

cat /etc/apt/sources.list

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

How do you update with apt

A

apt-get update

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

How do you upgrade the packages which have available upgrades

A

apt-get upgrade

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

How do you install/remove a package from the repositories list

A

apt-get install

apt-get remove

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

Download a package but do not install

A

apt-get download

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

How do you search for a package that you may want to install?

A

sudo apt-cache search

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

How do you display more information about a package?

A

sudo apt-cache showpkg

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

What is contained in the dpkg?

A

The .deb package contains:

  • Application utility
  • Default configuration files
  • How and where to install the files that come with the package
  • listing of dependencies the package requires

*apt handles dependencies, dpkg does not

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

Find out info about a package using the dpkg command.

A

dpkg –info

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

To find out info about a package but not as much as with –info.

A

dpkg –status

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

List packages that match a certain string.

A

dpkg -l

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

How do you install a package with dpkg?

A

dpkg -i

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

How do you list all files that were installed with a specified package?

A

dpkg -L

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

How do you purge all files belonging to a package.

A

dpkg -P

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

Reconfigure a package

A

dpkg-reconfigure