Skip to content

Instantly share code, notes, and snippets.

@theel0ja
Created September 9, 2018 12:12
Show Gist options
  • Save theel0ja/32295700f4a5cccd11dd2ed101c0cf77 to your computer and use it in GitHub Desktop.
Save theel0ja/32295700f4a5cccd11dd2ed101c0cf77 to your computer and use it in GitHub Desktop.
DEB_FILE="debootstrap_1.0.67+deb8u1_all.deb"
FOLDER_NAME="temp"
mkdir $FOLDER_NAME
cd $FOLDER_NAME
ar vx ../$DEB_FILE
# useless shit
rm debian-binary
rm control.tar.*
tar -xzvf data.tar.gz
# after unzip remove the package
rm data.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment