.pkg XAR archive
Archives & packages
| MIME type | application/x-xar |
|---|---|
| Description | XAR archive |
| Acronym | XAR – eXtensible ARchive |
| Category | Archives & packages |
| Other extensions | .xar |
Frequently asked questions
What is a .pkg file?
A .pkg file is a “XAR archive” (MIME type application/x-xar). XAR stands for eXtensible ARchive.
How do I open a .pkg file?
With an archive tool such as 7-Zip (Windows) or the built-in archive manager on macOS or Linux. On the command line, use tar, unzip or 7z depending on the format.
How can you tell a genuine .pkg file?
No fixed signature at the start of the file is registered for this format; it is recognised mainly by its extension. On Linux and macOS, file --mime-type example.pkg shows the guessed type.
Which MIME type belongs to .pkg?
The MIME type is application/x-xar. In the Apache web server: AddType application/x-xar .pkg; in nginx: types { application/x-xar pkg; }.