Skip to content

wp.jochen.hayek.name/blog-en

    • About

a macOS .pkg file – an xar archive file

Written by

johayek

in

unix_utilities
  • https://en.wikipedia.org/wiki/.pkg
  • https://en.wikipedia.org/wiki/xar_(archiver) – using xar is pretty similar to tar
  • https://linux.die.net/man/1/xar

Inside the .pkg, you will find a file by the name *.pkg/Payload. That’s in fact a gzipped cpio file, so this will show you its content:

$ gzip -cd *.pkg/Payload | cpio -itv

Share this:

  • Email a link to a friend (Opens in new window) Email
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Press This! (Opens in new window) Press This
  • Share on X (Opens in new window) X
  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn
  • More
  • Print (Opens in new window) Print
  • Share on Telegram (Opens in new window) Telegram
  • Share on Reddit (Opens in new window) Reddit
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Pinterest (Opens in new window) Pinterest

Like this:

Like Loading…
cpio gzip tar xar
←how to test ports – Telnet, Expect, Bash, Netcat, Nmap
CUPS, PPD→

Comments

Leave a Reply Cancel reply

You must be logged in to post a comment.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More posts

  • setting up VPN with my routers at home

    2026-09-23
  • BVG musicians – the community …

    2026-09-17
  • OmniSSH instead of PuTTY?

    2026-09-14
  • my Apple Watch and my router

    2026-09-10

wp.jochen.hayek.name/blog-en

Just another Jochen Hayek site

  • Blog
  • About
  • FAQs
  • Authors
  • Events
  • Shop
  • Patterns
  • Themes

Twenty Twenty-Five

Designed with WordPress

%d