deb.5 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. .\" Hey, Emacs! This is an -*- nroff -*- source file.
  2. .\" Author: Raul Miller
  3. .TH DEB 8 "29th November 1995" "Debian Project" "Debian GNU/Linux"
  4. .SH NAME
  5. deb - Debian GNU/Linux package format
  6. .SH SYNOPSIS
  7. .IB <packagename>.deb
  8. .SH DESCRIPTION
  9. Debian archive file format.
  10. Version 0.93 is implemented as follows:
  11. .TP
  12. line 1:
  13. version number
  14. .RB ( 0.93 ...),
  15. followed by
  16. .BR newline .
  17. .TP
  18. line 2:
  19. number of characters occupied by control area expressed in decimal,
  20. followed by
  21. .BR newline .
  22. .TP
  23. control area:
  24. compressed gzipped ustar formatted archive. Must contain file named
  25. .BR control .
  26. May optionally contain files named:
  27. .BR conffiles ,
  28. .BR preinst ,
  29. .BR prerm ,
  30. .BR postint ,
  31. .BR postrm .
  32. .TP
  33. files archive area:
  34. compressed gzipped ustar formatted archive. [with file structures
  35. designed to be unpacked in the root directory].
  36. .SH FILES
  37. The files represented in the control area have special significance:
  38. .TP
  39. .B control
  40. see
  41. .BR deb-control (5).
  42. .TP
  43. .B conffiles
  44. a line delimited list of "configuration files" which have special
  45. significance to
  46. .BR dpkg (8).
  47. .TP
  48. .B preinst
  49. an executable to be run before unpacking the archived files.
  50. .TP
  51. .B prerm
  52. an executable to be run before removing files from a prior installation.
  53. .TP
  54. .B postinst
  55. an executable to be run after unpacking the archived files.
  56. .TP
  57. .B postrm
  58. an executable to be run after removing files from a prior
  59. installation.
  60. .BUGS
  61. There is a new package format, which is not documented here.
  62. .SH SEE ALSO
  63. .BR deb-control (5),
  64. .BR dpkg (5),
  65. .BR dpkg (8),
  66. .BR dpkg-dep (8),
  67. .BR dselect (8).