6 raco setup: Installation Management

The raco setup command builds bytecode, documentation, executables, and metadata indexes for all installed collections.

The collections that are built by raco setup can be part of the original Racket distribution, installed via the package manager (see Package Management in Racket), installed via PLaneT (see PLaneT: Automatic Package Distribution), linked via raco link, in a directory that is listed in the PLTCOLLECTS environment variable, or placed into one of the default collection directories.

The raco setup tool itself does not directly support the installation of collections, except through the now-discouraged -A flag (see Installing ".plt" Archives). The raco setup command is used by installation tools such as the package manager or PLaneT. Programmers who modify installed collections may find it useful to run raco setup as an alternative to un-installing and re-installing a set of collections.

    6.1 Running raco setup

    6.2 Installing ".plt" Archives

    6.3 Controlling raco setup with "info.rkt" Files

    6.4 "info.rkt" File Format

    6.5 API for Setup

      6.5.1 raco setup Unit

      6.5.2 Options Unit

      6.5.3 Options Signature

    6.6 API for Installing ".plt" Archives

      6.6.1 Non-GUI Installer

    6.7 API for Finding Installation Directories

    6.8 API for Reading "info.rkt" Files

    6.9 API for Relative Paths

      6.9.1 Representing Collection-Based Paths

      6.9.2 Representing Paths Relative to "collects"

      6.9.3 Displaying Paths Relative to a Common Root

    6.10 API for Collection Names

    6.11 API for Cross-References for Installed Manuals