5W site logo 5W - мой домашний сайт-блог с картинками, кино и плюшками.

unpack-deb.txt

Extract .deb package using ar command

1. install binutils (which contain ar)

2. unpack deb:
ar x /path/file.deb

3. Extract files from control.tar.gz and data.tar.gz
$ tar xvf control.tar.gz
$ tar data.tar.gz

All files are extracted into the current directory.

-----------------------------------------------------
Extract .deb package using dpkg-deb command

1. install dpkg
2. unpack deb:
$ dpkg-deb -xv /file.deb /path/to/where/extract

example extract to current directory:
$ dpkg-deb -xv greybird.deb .