Skip to content

henri/installpkg

Repository files navigation

InstallPKG

download download

Download the latest version (a compiled package installer) via the following URL : http://www.lucid.systems/download/installpkg

InstallPKG is a wrapper to the 'installer' tool on Mac OS X systems. The functionality is focused on allowing you to quickly and easily install multiple packages to the current boot drive. InstallPKG is released under the GNU GPL licence.

Usage Examples

Full usage information and usage examples are available once installed by typing :

man installpkg

Basic usage example to install all .pkg and .mpkg files found within a specific directory :

installpkg /path/to/directory/of/packages/*

Copies the "printers.dmg" from the volume called "usb", ejects the volume and then installs of all .mpkg and .pkg which are on the root level of the disk image volume :

installpkg -hice /Volumes/usb/printers.dmg

Download the printers.pkg from the specified URL and then commence with installation of that package.

installpkg -u installpkg http://example.com/installers/printers.pkg

Dependinceies

A typical Mac OS X installation will have the dependinces. The exception to this rule is wget which is required with the -u flag. Support for the -u "install from URL" flag is provided by wget. If you do not have wget installed on your system and you would rather not install the developer tools, then download wget for OS X as a package. It is possible to install wget in a number of ways. A handful of installation approaches for wget on OS X are listed below :

Upgrade

Once installed (along with wget), you can use installpkg to update installpkg with the following command :

installpkg -iuh http://lucid.systems/download/installpkg

If you would prefer to not install wget on your system then download the latest version manually and then run the InstallPKG again to update to the latest version. Should you be using InstallPKG within your own installer(s) then download the latest version and then replace your older InstallPKG.pkg with the new InstallPKG.pkg.

Rootless Mode

OS 10.11 (El Capitan) rootless note. Version 0.2.0 of installpkg is the first version which is compatible with 10.11 systems which have rootless mode enabled.

Building InstallPKG from source

Use this GitHub project to build (requires luggage) the OS X package installer for InstallPKG or download the .dmg file which is also available from github. Pull requests to add useful features or bug fixes are welcome.

Contributing

Comments and suggestions regarding the InstallPKG project are very welcome.

If you have an new feature or bug fix, fork the project create a new branch and then issue a pull request via GitHub.

About

Install multiple apple .pkg and .mpkg files via the command line. Perfect for installing multiple items all at once.

Resources

Stars

Watchers

Forks

Packages

No packages published