.pkg files are used by Installer which is an application included in Mac OS X which extracts and installs files (usually application installs).

learn more… | top users | synonyms

0
votes
2answers
108 views

How to create pkg which installs files to /usr/local

I tried using Whitebox's Packages to create an installer for a LaunchDaemon. The daemon calls a shell script, which itself sources a configuration file. So what I would like is an installer which ...
1
vote
0answers
342 views

Java 7 Update 55.pkg can't be installed because its digital signature is invalid

I'm trying to install Java in order to use the Safari plugin. The "missing plugin" functionality redirects me to the Java download page, where I downloaded a file named jre-7u55-macosx-x64.dmg, which ...
4
votes
2answers
2k views

Repackaging .pkg files without installing/unpacking

Recently I was tasked with finding out a way to prepare OS X applications for automatic distribution to multiple machines. Most applications require some tampering with their preferences before ...
1
vote
1answer
53 views

Keyboard shortcut to allow opening unsigned pkg file?

I prefer to use keyboard shortcuts rather than the mouse. Is there a a way to define a keyboard shortcut equivalent to Right-Clicking a pkg file and choosing "Open", which warns about opening an ...
1
vote
1answer
1k views

How to create a Package, which runs a shell script?

While searching for a good (better) solution for this Solution, I try to solve my problem with Packages, but with no success. My concrete problem looks simple: 1. Copy a file to `/tmp` (it's an ...
7
votes
3answers
3k views

Unattended installation of pkg file

Is there any possibility to create a unattended installation of an pkg package? E.g. creating a mpkg and running a script which installed the package via console and installer. Background: I had to ...
5
votes
1answer
1k views

Use pkg-config with Homebrew installed software

I have installed some libraries with Homebrew but if I use pkg-config it does not find them because there are missing .pc files. For example, if you do: brew install opencv and, after it is ...
1
vote
1answer
79 views

PKG Example Scripts

And googling hasn't helped much, I'm trying to find some example shell scripts to help me figure-out an installer.pkg pre- / post-install scripts I've been ordered to build. I have very little ...
0
votes
1answer
3k views

How to download pkg files from iTunes?

I need to download a pkg(ipa) file from the Apple Store (using iTunes, i guess iPhone apps are only in iTunes not in the Store App). How can you download the pkg file(ipa)? (Alternatively, if I ...
1
vote
1answer
108 views

From command line open package installer

From the command line is it possible to open a package installer window (not install the application). I understand I could run the application using sudo installer -pkg ..... -target ....... Instead ...
0
votes
1answer
255 views

Is there any way to list all .pkg packages that I have installed? [duplicate]

Just wondering if there is any Terminal command to do this, because I think my OSX was already messed up with some incompatible .pkg installations. Thanks.
0
votes
2answers
77 views

Is it possible the create a pkg that doesn't require root access (user & password prompt)

The title says it all really, is it possible to create a pkg that can install without the user requiring to enter their password?
2
votes
3answers
373 views

.dmg files organization

Today I needed to view the contents of OS X's SDKs, which are published as .dmg's. To my surprise, I discovered that the structure is as follows : The .dmg contains a hidden .pkg files The .pkg ...
1
vote
2answers
543 views

How to install framework (from pkg file) in a non-standard location?

In brief, my question is this: How can I install a framework from a *.pkg file somewhere other than under /Library/Frameworks (or /System/Library/Frameworks)? Background I want to install a ...
6
votes
2answers
16k views

Installing .pkg with terminal ?

Is it possible to install a .pkg using a terminal ? (I wanted to install an app through ssh).
1
vote
0answers
99 views

OS X Command Line using Pacifist to downgrade Safari on a 10.7 System

I want to downgrade Safari by using a command line script. With a GUI I used the Pacific tool (http://coderwall.com/p/ndm-iw) in order to work around the OS 10.6 requirement. Right now I'm search ...
1
vote
2answers
228 views

Installation of a .pkg file is nowhere to be seen

I have gone through the install process of a .pkg file and when I look for it in /Users/~/Library/Application Support it's nowhere to be seen. I've only recently become a Mac user so it might be a ...
1
vote
1answer
3k views

Foolproof way of extracting .pkg files

I know there are some paid GUI tools that let you do this, but I'm not interested in those. Currently, I'm doing this: gzcat Contents/Archive.pax.gz | pax -r However, there are some pkg files that ...
10
votes
3answers
4k views

Why are so many Mac downloads a .dmg just that contains a single .pkg?

I've noticed that many downloads are a dmg (disk image) that contains a single pkg file (installation package). Usually the pkg seems to be already compressed since the dmg doesn't reduce the file ...
2
votes
2answers
4k views

Any idea what happened to /Library/Receipts in Mac OS X Lion?

Does anyone know why all the .bom files in /Library/Receipts moved to /var/db/receipts?
2
votes
2answers
16k views

Installing from a .pkg or .mpkg file on Mac OS X Lion

I have a strange problem since upgrading to Lion: Some .pkg and .mpkg files won't open the installer but instead will open the terminal, and no installation takes place. The most recent example is the ...
29
votes
6answers
83k views

How can I open a .pkg file manually?

Some applications come in .pkg files, and ask for you administrator password, even if all they do is copy the binary to /Applications. I like to have my applications in ~/Applications, and I do not ...