Skip to content

Instantly share code, notes, and snippets.

Created Oct 20, 2011
What would you like to do?
Extract deb package to local /usr folder
if [ $# -ne 1 ]
echo "Usage: $0 file.deb"
exit 0;
ar vx $1
rm debian-binary
rm control.*
rm $1
tar -C /home/pkumar -xzvf data.tar.gz
rm data.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment