Open Unidentified .pkg file
-
14-04-2021 - |
Question
So I wanted to download the git command line and when opening the .pkg I got an Un ID'd Developer message.
I do not have admin rights and am locked out of the gatekeeper panel.
I then tried the xattr -d com.apple.quarantine
method to no avail.
Any tips?
Thanks!
NOTE: OSX El Capitan
Solution
Create a new folder, put the PKG you want to install into this new folder, CD to that directory then run these commands:
xar -x -f Install.pkg && rm Install.pkg && xar -cf Install.pkg * && open Install.pkg
(replace Install.pkg with the file name of the PKG file you want to install.)
These commands decompress the PKG, delete the original PKG, then create a new PKG, which should install without complaining about unidentified developers.
Licensed under: CC-BY-SA with attribution
Not affiliated with apple.stackexchange