linux extract a file from a rpm, ko, deb file



rpm2cpio ./packagecloud-test-1.1-1.x86_64.rpm | cpio -idmv

dpkg -x package.deb /tmp/out This will extract the file from deb file.

objdump -S. We need source code. The line should be added to the file Makefile. EXTRA_CFLAGS += -g



猜你喜欢

转载自blog.csdn.net/mounter625/article/details/79376778