dpkg Flashcards

1
Q

dpkg

A

dpkg is a tool to install, build, remove and manage Debian packages.

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

dpkg -i

A

-i, –install package-file, install the package.

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

dpkg -l

A

-l, –list package-name-pattern, List packages matching given pattern.

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

dpkg -r

A

-r, –remove package, Remove an installed package.

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

dpkg -P

A

-P, –purge package, Purge an installed or already removed package. Removes both the package and configuration file. -r only removes the package.

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

dpkg -c

A

-c, –contents archive, Lists contents of a deb package.

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

dpkg -s

A

-s, –status package-name, Report status of specified package.

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

dpkg -L

A

-L, –listfiles package-name, List files installed to the system from package-name.

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

dpkg -R

dpkg -R –install

A
  • R, –recursive, Recursively handle all regular files matching pattern *.deb in specified directory.
  • R –install, Recursively install all packages in specified directory.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

dpkg –unpack

A

–unpack package-file, Unpack the package, but don’t configure it.

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

dpkg –configure

A

–configure package, Configure a package which has been unpacked but not yet configured.

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

dpkg –update-avail

dpkg –merge-avail

A

Update dpkg’s and dselect’s idea of which packages are available.

–update-avail, Replaces old information with information in the Packages-file.

–merge-avail, Old information is combined with information from the Packages-file.

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

dpkg –clear-avail

A

–clear-avail, Erase the existing information about what packages are available.

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

dpkg –forget-old-unavail

A

This option is now obsolete because dpkg will automatically forget uninstalled unavailable packages.

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

dpkg –version

A

Displays the dpkg version.

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