liveBook · Manning

Package manager

As explained in Build Applications with Local AI Models on a Mac

A software tool that installs, updates, removes, and manages software packages and their dependencies.

A package manager installs, updates, removes, and manages software packages and their dependencies. It brings app-store convenience to the terminal: instead of downloading and configuring developer tools manually, you use commands. Homebrew is a widely used package manager for macOS. section 2.1 section 2.8

A package manager can:

  • Install software and the other programs it depends on. section 2.1
  • Handle version compatibility and update installed packages. section 2.1
  • Search, inspect, list, and remove packages with commands. section 2.8

Using Homebrew

Install a developer tool such as wget with brew install wget. Run brew update followed by brew upgrade to update package information and installed software. section 2.8 section 2.0

Figure 2.1 The Homebrew installation flow for a single package. Homebrew automatically handles version detection, dependency resolution, downloading, and installation. Updating installed packages is covered in section 2.5.

Shows how Homebrew handles version detection, dependencies, downloading, and installation for one package. section 2.1

How Build Applications with Local AI Models on a Mac covers it

How deep it goes
Defines core tasks and demonstrates commands, while leaving package-manager internals unexplained.
Examples
Uses Homebrew to install wget and update installed packages.
What it assumes
Assumes basic terminal navigation while introducing package managers and Homebrew.
What you can do after
Apply Homebrew to install packages, inspect them, and keep them updated.
How it connects
Connects Homebrew with terminal use, package dependencies, and software updates.

Also explained in

Compare how 4 books explain package manager →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build Applications with Local AI Models on a Mac. The section links point to the parts of the book it draws on.