Use Debian Package Management Flashcards

1
Q

How does apt (Advanced Package Tool) work

A

Reads the /etc/apt/source.list

Directs installation and uninstallation of packages dpkg

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

What is stored in /etc/apt/sorces.list

A

configuration file that lists out repository locations for packages

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

What does the apt-get update command do

A

updates the local apt cache with a listing of packages that can be updated/upgraded and installed

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

what does the command apt-get install

A

upgrades the packages that have upgrades avallable

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

What does the command apt-get install do

A

installs a package from the repositories in the sources.list file

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

What does the command apt-get remove

A

removes a package from the system but any config files that came with the package will be left behind

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

what does the command apt-get purge command do

A

removes the package from the system and any associated config files

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

what does the command apt-get dist-upgrade do

A

upgrades all packages on the system up to the next release of the distribution

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

what does the command apt-get download do

A

downloads the package (does not install it)

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

What does the command apt-cache search do

A

searches through your local apt cache for a package that can be installed

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

what does the command apt-cache show do

A

lists out basic info about a package

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

what does the command apt-cache showpkg

A

display more technical info about a package

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

What does the.deb package contain

A

application or utility
default configuration files
how and where to install the files that come with the package
listing of dependencies the package requires

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

what download manager handles dependecies along with the download

A

apt does dpkg doesnt

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

what does the command dpkg –info do

A

Displays info on a package

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

what does the command dpkg –status

A

Same as –info, but less detail

17
Q

What does the command dpkg -l

A

Lists out packages that match the strong provided

18
Q

what does the command dpkg -i do

A

installs specified packages

19
Q

what does the command dpkg -L

A

Lists out all files that were installed with a specified package

20
Q

what does the command dpkg-r command do

A

Removes a specified package but leaves the config files behind

21
Q

what does the command dpkg -P

A

Removes a specified package and also any config files that were installed with it

22
Q

What does the command dpkg -S do

A

Searched through the package database for a file specified and lists out any mentions of the specified file or sting

23
Q

what does the command dpkg-reconfigure do

A

Allows for the mdofication of a package by re-running the application config tool