https://github.com/cdude1909/pkg2dmg
Tool to convert Apple's PKG to DMG 🔥
https://github.com/cdude1909/pkg2dmg
bootable bootable-usb convertor dmg hackintosh linux mac macos pkg
Last synced: 7 months ago
JSON representation
Tool to convert Apple's PKG to DMG 🔥
- Host: GitHub
- URL: https://github.com/cdude1909/pkg2dmg
- Owner: Cdude1909
- License: unlicense
- Created: 2024-09-20T08:09:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-23T20:20:06.000Z (over 1 year ago)
- Last Synced: 2025-06-22T02:25:43.770Z (8 months ago)
- Topics: bootable, bootable-usb, convertor, dmg, hackintosh, linux, mac, macos, pkg
- Language: Shell
- Homepage:
- Size: 26.4 KB
- Stars: 8
- Watchers: 1
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `.PKG` -> `.DMG` Convertor
### A tool to create `.dmg` from Apple's `.pkg` 🎊
### NOTE: Runs on Linux only. Use VM for Windows.
- The script will automatically create `.dmg` & save it to desired location.
- `.dmg` will be bootable hence can be used for Hackintosh or offical Mac
- also works with my another script [Automated-macOS-Installer](https://www.github.com/cdude1909/Automated-macOS-Installer)
## Requirements
Make sure you have this dependencies pre-installed,
- 16 GB `.dmg` will be created hence make sure you have enough space
- Python3.3+ (it will cover all the required pip dependencies ;) )
- `InstallAssistant.pkg` (Can be downloaded externally from [Mr.macintosh](https://mrmacintosh.com/how-to-download-macos-catalina-mojave-or-high-sierra-full-installers/))
## Run
Simply,
```
git clone https://www.github.com/Cdude1909/PKG2DMG/
cd pkg2dmg
sudo chmod +x pkg2dmg.sh
sudo ./pkg2dmg.sh
```
## Miscellaneous
- For vm,you may use `dmg2img` to convert `dmg` to `iso` and boot it in VM. However,it requires more complex steps.
- it supports many macos bootable .pkg, untill they change the pattern. hence you can **re-use this script for newer versions.** (Catalina -- Sequoia & maybe ahead...)