lb_clean(1)

lb_clean1

Clean build directory

Usage

lb clean [OPTIONS]

Overview

lb clean is a high-level command (porcelain) of live-build(7), the Debian Live tool suite.

lb clean is responsible for cleaning up after a system is built. It removes the build directories, and removes some other files including stage files, and any detritus left behind by other live-build commands.

Options

In addition to its specific options lb clean understands all generic live-build options. See live-build(7) for a complete list of all generic live-build options.

--all

removes chroot, binary, stage, and source. The cache directory is kept. This is the default operation and will be performed if no argument is given.

--cache

removes the cache directories.

--chroot

unmounts and removes the chroot directory.

--binary

removes all binary related caches, files, directories, and stages files.

--purge

removes everything, including all caches. The config directory is kept.

--remove

removes everything, including package cache but not stage cache. The config directory is kept.

--stage

removes all stage files.

--source

removes all source related caches, files, directories, and stage files.

Files

auto/clean

Homepage

More information about live-build and the Debian Live project can be found on the homepage at <https://wiki.debian.org/DebianLive>.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 7 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13

Bugs

Bugs can be reported by submitting a bug report for the live-build package in the Bug Tracking System at <http://bugs.debian.org/> or by writing a mail to the Debian Live mailing list at <[email protected]>.

Author

live-build was originally written by Daniel Baumann <[email protected]>. Since 2016 development has been continued by the Debian Live team.

From live-build 1:20250505+deb13u1 in Debian 13 (Trixie). Parsed by carta from the page's man source.