lb clean(1) Clean build directory


lb clean [live-build options]


lb clean is a high-level command (porcelain) of live-build(7), the live systems 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.


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.

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.
removes the cache directories.
unmounts and removes the chroot directory.
removes all binary related caches, files, directories, and stages files.
removes everything, including all caches. The config directory is kept.
removes everything, including package cache but not stage cache. The config directory is kept.
removes all stage files.
removes all source related caches, files, directories, and stage files.




More information about live-build and the Live Systems project can be found on the homepage at <> and in the manual at <>.


Bugs can be reported by submitting a bugreport for the live-build package in the Bug Tracking System at <> or by writing a mail to the Live Systems mailing list at <[email protected]>.


live-build was written by Daniel Baumann <[email protected]>.