PATH Contents > Installing Packages
Installing Packages

This document shows how to install Packages from the disk image you've downloaded or fetched via other means.

Packages being a tool to build raw packages and distributions, it shall not be a surprise that its installer is a distribution built by itself.


System Requirements


Installing Packages on a single computer

To manually install Packages on a Mac running macOS Catalina, follow these instructions:

1Double-click the Packages.dmg disk image file to mount it on the desktop.
2Double-click the Packages volume.
3Select the Install Packages item
4Control + click the selected item and choose Open.
5Click Open in the dialog claiming that "Apple cannot check it for malicious software" (which is actually "Apple, the trillion-dollar company, did not receive $99 from this freeware developer this year.").
6Follow the instructions displayed by the Installer application.


To manually install Packages on a Mac running macOS Mojave or earlier, follow these instructions:

1Double-click the Packages.dmg disk image file to mount it on the desktop.
2Double-click the Packages volume.
3Double-click the Install Packages distribution to start the installation.
4

Follow the instructions displayed by the Installer application.

Note: When the files are going to be installed, Installer will look for the location of a previous version of Packages. If no previous versions are found, the Packages application will be installed in the /Applications folder.


Installing Packages on a remote computer

Packages being delivered as a distribution, it is possible to install it on a remote computer. Depending on the version of macOS you're running, there are two possible methods for remote installation:

Installing with the installer(8) tool

1

Show the original file for the Install Packages alias.

2

Copy the Packages.pkg distribution to the remote computer.

Note: If no file sharing services (SMB, AFP, etc.) are running on the remote computer, you will have to physically move to the computer to make the copy and run the installation.
3Connect to the remote computer using ssh (or telnet).
4Move to the directory where the Packages.pkg distribution has been copied.
5

Type the following command:

$ sudo /usr/sbin/installer -pkg Packages.pkg -target /
6Press Return.

Installing with Apple Remote Desktop

Apple Remote Desktop (ARD) is a "suite of desktop management tools, enabling administrators to manage networks of Mac OS X system from a central location". Amongst other things, it allows you to remotely install packages or metapackages.

Read page 109 of chapter 8 of the ARD documentation to learn how to perform a remote installation of packages.


macOS Catalina and Full Disk Access

macOS Catalina extends the Security and Privacy features introduced in macOS Mojave. If an application needs to access some directories (Documents, Downloads, etc.) within the user's home directory, the application needs to be granted access by the user.

If your Packages projects are stored in your Documents folder, or if some items in your payload are located in a sub-directory of your Home folder, trying to build your project may fail on macOS Catalina.

To make Packages work without any hiccup, it is recommended to grant Full Disk Access to the following components of Packages:

If you use the packagesbuild command line tool, you also need to grant Full Disk Access to:


Uninstalling Packages

To uninstall Packages, you need administrative privileges. If you're not an administrator on the computer, contact him/her.

1Double-click the Packages.dmg disk image file to mount it on the desktop.
2Double-click the Packages volume.
3Double-click the Extras folder.
4Open the Terminal application.
5Type sudo sh .
6

Drag and drop the uninstall.sh file from the Finder to the Terminal window.

Example:
$ sudo sh /Volumes/Packages/Extras/uninstall.sh
7Press Return to run the command and then type your administrator password.




Revision History
02/04/22Add Apple Silicon based Mac to the list of natively supported hardware
10/13/19Add instructions to install non-notarized Packages on macOS Catalina
05/16/10First version

Copyright 2010-2022 Stéphane Sudre. All rights reserved.