You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: ARCHIVE refers to a '.deb' Debian archive. PKG refers to program available to download or an installed program to unpack.
70
67
71
-
Showing Packages
72
-
-----------------
68
+
### Showing Packages
73
69
74
70
To show the versions and architectures of packages available for download (e.g. `gawk 1:4.0.1+dfsg-2.1ubuntu2 amd64`):
75
71
@@ -79,8 +75,7 @@ To show the versions and achitectures of packages available for download, format
79
75
80
76
debtool --show --format PACKAGE
81
77
82
-
Downloading Packages
83
-
---------------------
78
+
### Downloading Packages
84
79
85
80
To download a Debian package (from apt sources):
86
81
@@ -102,8 +97,7 @@ To download a package interactively and select from multiple versions:
102
97
103
98
debtool --interactive git
104
99
105
-
Unpacking Packages
106
-
-------------------
100
+
### Unpacking Packages
107
101
108
102
To unpack a Debian package:
109
103
@@ -117,8 +111,7 @@ You can even unpack an already installed package. If you've modified installed f
117
111
118
112
debtool --unpack mawk
119
113
120
-
Rebuilding Packages
121
-
--------------------
114
+
### Rebuilding Packages
122
115
123
116
After you've made changes to the directory contents, you may rebuild the package. As part of the (re)build process, md5sums will be updated (if necessary) and any uncompressed manpages will be gzip'd. If you need to do much more than that, you should probably be using debhelper anyways.
124
117
@@ -136,15 +129,13 @@ After you've made changes, you can rapidly reinstall (purge then install) the in
136
129
137
130
debtool --reinst ARCHIVE
138
131
139
-
Repack Installed Package
140
-
------------------------
132
+
### Repack Installed Package
141
133
142
134
You can even repack an already installed package. This is convenient when an installed package is no longer available for download. If you've modified installed files, these changes will be incorporated into the Debian archive:
143
135
144
136
debtool --repack mawk
145
137
146
-
Combination Commands
147
-
---------------------
138
+
### Combination Commands
148
139
149
140
Some commands may be combined. Valid combinations include '--download --unpack', `--interactive --unpack`, and '--build --reinst'.
150
141
@@ -160,15 +151,13 @@ Use the fast command (equivalent to `--auto --build --reinst --quiet`) to build
0 commit comments