I’m trying to decompile a source package because I want to look at the preist en prerm files. Those files are normally in the debian folder but when I extract the source package I don’t find any debian folder. Is there a simple command or other way to get the debian folder?
Thanks in advance
If you want to to it from the source for package foo:
which will get the
.orig.tar.gz, the.dscwith control information and the.diff.gzwith Debian changes (if any) and thedebian/directory added to the source for the build. It will have(pre|post)(inst|rm)files too.From the
.debbinary, you can usearandtaras per the other answer.