Skip to content

Instantly share code, notes, and snippets.

@jmara
Forked from shamil/howto_deb_repackage.txt
Created July 5, 2018 11:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmara/06fcc0629a3f98861f1879c0722892a2 to your computer and use it in GitHub Desktop.
Save jmara/06fcc0629a3f98861f1879c0722892a2 to your computer and use it in GitHub Desktop.
Howto repackage deb packages
Use folowing steps to repackage dep package:
1: Extract deb package
# dpkg-deb -x <package.deb> <dir>
2: Extract control-information from a package
# dpkg-deb -e <package.deb> <dir/DEBIAN>
3. After completed to make changes to the package, repack the deb
# dpkg-deb -b <dir> <new-package.deb>
@jmara
Copy link
Author

jmara commented Jul 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment