1. When to use it
Handy when you want to understand package structure, installed files, and scripts before touching the machine.
explodepkg | slack-desc | package audit | txz contents | install scripts
2. Base setup
mkdir -p /tmp/pkg-inspect
cd /tmp/pkg-inspect
explodepkg /tmp/bash-*.txz
find . -maxdepth 3 | head
Adjust host names, IPs, interfaces, paths, and versions to the real system before making the change persistent.
3. Quick verification
ls install
sed -n '1,20p' install/slack-desc
find usr -maxdepth 2 | head
Confirm that the output matches the expected state before considering the intervention complete.
4. Operational notes
This method is also useful during review or packaging to verify that contents match expectations.
Quick checklist
[ ] Steps completed\n[ ] Config updated\n[ ] Tests executed\n[ ] Rollback ready\n[ ] Logs checked