We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
Sometimes, you have these .pkg installer files on macOS. Today, I needed to extract them to see what's inside. Here's how you can do it:
xar -xf MyInstaller.pkg
If there is a file called Payload
in there, you need to unpack it again:
cat Payload | gunzip -dc | cpio -i
Inspiration was found on StackOverflow.
If this post was enjoyable or useful for you, please share it! If you have comments, questions, or feedback, you can email my personal email. To get new posts, subscribe use the RSS feed.