Pkg unpacker mac os

Open/Extract xar/pkg File with Freeware on Windows/Mac/Linux

xar (short for eXtensible ARchive) is an open source file archiver and the archiver¡¯s file format. It was created within the OpenDarwin project and is used in Mac OS X 10.5 for software installation routines, as well as browser extensions in Safari 5.0. Xar replaced the use of gzipped pax files.

pkg is just .xar archives with a different extension and a specified file hierarchy. pkg is an OS X Installer file. This file format is used by Apple Inc. on its Macintosh line of computers and on the iPhone. It is also used by Sony PlayStation 3 on downloadable content over PlayStation Network. The contents of a PKG file can be installed using the Apple Installer application.

The XAR project aims to provide an easily extensible archive format. Important design decisions include an easily extensible XML table of contents for random access to archived files, storing the toc at the beginning of the archive to allow for efficient handling of streamed archives, the ability to handle files of arbitrarily large sizes, the ability to choose independent encodings for individual files in the archive, the ability to store checksums for individual files in both compressed and uncompressed form, and the ability to query the table of content’s rich meta-data.

The XAR file format has three main regions, The Header, The Table of Contents, and The Heap. The header is a small binary data structure that identifies the file format (file magic). The table of contents is parsed as an XML document. The heap occupies the remainder of the file. Files’ data are stored in the heap.

Files in xar are individually compressed. This allows for quick extraction of individual files without the extra disk space requirements and CPU usage of extracting the entire archive, as compared to a compressed tar archive. This makes xar useful for quick restores of accidentally deleted or overwritten files, from a backup archive. Additionally, this means xar can use different compression methods for each file in the archive. For instance, it might not be a good idea to try to try to compress an already compressed file, but a large file might benefit greatly from using bzip2, whereas a small text file would be better served to use gzip.

Open/Extract xar/pkg File on Windows

Easy 7-Zip opens/extracts xar/pkg file easily on Windows. The Easy 7-Zip was developed based on 7-Zip. 7-Zip is a famous open source file archiver. The Easy 7-Zip is an easy-to-use version of 7-Zip. The open source freeware keeps all features of 7-Zip and adds a few useful features that makes the software more user-friendly.

Читайте также:  Как узнать процессор ноутбук windows 10

Easy 7-Zip works on Windows 10/8.1/8/7/Vista/2008/2003/XP/2000 (both 32-bit and 64-bit compatible).

  1. Free Download Easy 7-Zip
  2. Install Easy 7-Zip by step-by-step instructions
  3. The installation will associate xar/pkg with Easy 7-Zip automatically
  4. Double-click on xar/pkg file to open xar/pkg file with Easy 7-Zip

    You will see files or folders within the xar/pkg file then, click button Extract to extract the xar/pkg file.

Alternatively, Right-click on xar/pkg file on Windows Explorer

And then, choose Extract files. , Extract Here, or Extract to «folder\» to extract the xar/pkg file.

Easy 7-Zip Download Links:

Open/Extract xar/pkg File on Mac

You can open pkg file directly on Mac. If you want to extract xar/pkg you need to install extra software. B1 Free Archiver opens/extracts xar/pkg file on Mac. B1 Free Archiver is a free software for creating archive folder and extracting archive file. B1 Archiver works on all platforms — Windows, Linux, Mac and Android. The freeware supports most popular formats including xar/pkg.

B1 Free Archiver is compatible with:

  • Mac OS X 10.9 Mavericks
  • Mac OS X 10.8 Mountain Lion
  • Mac OS X 10.7 Lion
  • Mac OS X 10.6 Snow Leopard

Open/Extract xar/pkg File on Linux

You need to install xar on Linux.

# wget https://xar.googlecode.com/files/xar-1.5.2.tar.gz
# tar zxvf xar-1.5.2.tar.gz
# cd xar-1.5.2
# ./configure
# make
# make install

If an error «configure: error: Cannot configure without xml2-config» occurs when running configure, please install libxml2-dev. On Debian, type:

# apt-get install libxml2-dev

List folders and files in xar/pkg:

$ xar -tf archive.xar
$ xar -tf archive.pkg

Open/Extract xar/pkg file with xar on Linux:

$ xar -xvf archive.xar
$ xar -xvf archive.pkg

xar command options:

  • -t: Lists an archive
  • -x: Extracts an archive
  • -v: Print filenames as they are archived
  • -f: Specifies an archive to operate on

Alternatively, you can use p7zip to extract xar/pkg file. p7zip is the Unix command-line port of 7-Zip.

Install p7zip-full on CentOS and Fedora

# yum install p7zip-full

Install p7zip-full on Debian and Ubuntu

$ sudo apt-get install p7zip-full

List directories and files in xar/pkg file

$ 7z l archive.xar
$ 7z l archive.pkg

Extract xar/pkg file with p7zip on Linux

Источник

How to Extract Packages (PKG) files on a Mac OS

Software for Apple’s OS X platform comes in package files, and these packages make installing software extremely simple. This was one of the advances that came with the Unix-core OS X is based on. Users should always check to make sure that they know what’s in a package they’ve downloaded before installing it. Generally this can be done with the Mac Finder.

Mac Finder isn’t always capable of reading the contents of a package file, which requires users to rely instead on the command line to view what’s inside. Additionally packages can sometimes become corrupt or you might need to extract a single file from a package for some other reason. The same command can be used to accomplish this.

Viewing Package Contents

Open the Mac Finder from the dock, navigate to /Applications/Utilities/ and then launch the Terminal.

Use the following command pointed at the package you want to view the contents of:

pkgutil –expand thePackage.pkg /destination

cd /destination

Replace thePackage.pkg with the package name and /destination with where you put it. For instance, if you wanted to work on the Desktop with a package called volume.pkg:

These files can now be examined, manipulated or thrown in the Trash once you’re done with them. If you wanted to keep only .gif files from a package, for example, you could make a directory then move them to it before deleting all of the others:

mv *.gif ./Images

Источник

[Mac OS X] Pacifist — удобная распаковка .pkg

Если вы являетесь активным пользователем Mac OS, то вполне вероятно, что однажды вам уже было необходимо открыть файл с расширением .pkg. Сделать это можно при помощи нескольких способов, но приложение под названием Pacifist позволяет сделать это наиболее быстро и удобно.

Несомненно, одним из главных достоинств приложения Pacifist является его простота в использовании — открыть файл .pkg можно буквально при помощи пары тапов. Помимо этого Pacifist позволяет произвести установку открытых файлов, а также обладает возможностью открытия файлов прямо из Интернета.

При необходимости вы можете воспользоваться встроенной функцией открытия установочных файлов купертиновцев, таких как: образы с операционными системами, любые скачанные официальные установщики и другие.

Кстати, достаточно удобной функцией является возможность поиска конкретного файла в .pkg файлах, что обязательно будет полезно многим пользователям, ведь, как правило, .pkg чаще всего распаковывают именно для того, чтобы найти один-единственный файл.

В целом Pacifist отличное решение для тех, кому часто приходится распаковывать файлы с расширением .pkg. Она обладает достаточно простым интерфейсом, за счет чего работать с ней одно удовольствие. В то же время хочется заметить, что за подобную стоимость разработчики могли бы доработать интерфейс Pacifist, а также добавить дополнительный функционал.

Покупать или не покупать? Решать вам, но помните, что распаковка файлов .pkg с Pacifist намного проще, даже если учесть несколько завышенную стоимость.

Название: Pacifist
Издатель/разработчик: CharlesSoft
Цена: 20 $
Ссылка: Mac

Новости, статьи и анонсы публикаций

Свободное общение и обсуждение материалов

Лонгриды для вас

Если ваш Макбук выключается на половине заряда, у него могут быть проблемы с аккумулятором. И самая страшная из этих проблем — вздутие, которое может нанести компьютеру серьезный ущерб. Вместе с экспертами рассказываем, как не довести до такого.

iPhone не имеют слота для карт памяти, но это не значит, что расширить их память нельзя. Представляем вашему вниманию подборку флеш-накопителей с Lightning, которые позволят за дёшево нарастить объём накопителя вашего смартфона

Совсем недавно компания Apple нам сообщила, что функция совместного просмотра SharePlay исчезнет из публичного бета-тестирования и не будет представлена пользователям в сентябре. О том, какие существуют альтернативы и когда ждать появления SharePlay читайте в нашей статье.

Источник

Как извлечь файлы пакетов (PKG) в Mac OS —

Программное обеспечение для платформы Apple OS X поставляется в виде файлов пакетов, и эти пакеты делают установку программного обеспечения чрезвычайно простой. Это было одним из достижений, которые пришли с Unix-ядром OS X на основе. Пользователи должны всегда проверять, что они знают, что находится в пакете, который они скачали, прежде чем устанавливать его. Как правило, это можно сделать с помощью Mac Finder.

Mac Finder не всегда способен читать содержимое файла пакета, поэтому пользователям приходится полагаться на командную строку, чтобы посмотреть, что находится внутри. Кроме того, пакеты могут иногда повреждаться или вам может понадобиться извлечь один файл из пакета по какой-то другой причине. Эта же команда может быть использована для достижения этой цели.

Просмотр содержимого пакета

Откройте Mac Finder из дока, перейдите к / Применение / Утилиты / и затем запустите Терминал.

Используйте следующую команду, указав на пакет, содержимое которого вы хотите просмотреть:

pkgutil –expand thePackage.pkg / destination

CD / назначение

Ls

Замените thePackage.pkg на имя пакета и / destination, где вы его положили. Например, если вы хотите работать на рабочем столе с пакетом volume.pkg:

pkgutil –expand volume.pkg

Ls

Эти файлы теперь можно просматривать, манипулировать ими или выбрасывать в корзину, как только вы закончите с ними. Например, если вы хотите сохранить только файлы .gif из пакета, вы можете создать каталог, а затем переместить его в него, прежде чем удалять все остальные:

Источник

Expanding PKGs on macOS

Let’s say you’re on a computer where you don’t have administrative access, but you really need to use this one piece of software. In my case, this was Apple’s SF Symbols app. There’s a pretty simple way to extract the payload from the package (.PKG).

To get started, you first need two things. A macOS-equipped computer and a DMG with a PKG inside, or just a PKG. This tutorial will detail both.

Extracting the Package Contents

If your PKG is inside of a DMG, start here.

To extract the payload from a PKG inside of a DMG, we need to mount the DMG. There are two ways to do this. You can either use the Finder (double-click the DMG to mount it) or use the terminal with the following command:

Now is where we have to use the terminal. In your terminal, navigate to the folder just above where you want your PKG to be extracted. An example command is as follows:

You can then proceed to extract the PKG with:

The snippet below is what my terminal looked like after extracting the package to the “extracted_package” folder.

To see what is inside of the payload, type:

The open $(pwd) command opens the current directory with the Finder.

The folder hierarchy of the Payload folder is very simple. The directories are the places to put the files. For example, the directory Applications has “SF Symbols.app”, because that needs to be put in the Applications folder on your computer.

Once you have extracted the Payload, you can eject the volume (if you are using a DMG) or delete the PKG, as you no longer need it.

Источник

Читайте также:  Как удалить кинопоиск с компьютера windows 10
Оцените статью