LIVE-BUILD(1)

πŸ“¦
version 3.0~a57 Β· 3 versions
, in ubuntu jammy, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– LIVE-BUILD(1) β€” the Debian Live Project's own manual, bestie πŸ’–

okay so you opened the manual for live-build, the Debian Live tool suite β€” and this specific page is all about lb clean, the glow-up-your-build-directory command. sit down, grab a boba, we're doing this πŸ§‹βœ¨


✨ NAME ✨

lb clean β€” clean build directory 🧹🫧


🌸 SYNOPSIS 🌸

lb clean [live-build options]

πŸ¦‹ DESCRIPTION πŸ¦‹

so lb clean is what we call a high-level command β€” a porcelain command, in fancy speak β€” of live-build(7), which is the Debian Live tool suite itself. yes bestie, it's giving "fancy name for a very chill job" πŸ’…

what does it actually do tho? lb clean is the one responsible for cleaning up after a system is built. it:

  • removes the build directories πŸ—‘οΈ
  • removes some other files too, including stage files
  • and sweeps away any detritus that the other live-build commands left lying around like little gremlins πŸ™ˆ

it's the post-party cleanup crew, no cap.


πŸ‘‘ OPTIONS πŸ‘‘

first things first, queen: on top of its own specific options, lb clean understands all generic live-build options. see live-build(7) for a complete list of every single generic live-build option, okay? don't come for me, I'm just the messenger πŸ“–

  • --all β€” removes chroot, binary, stage, and source. the cache directory is kept. this is the default operation and it'll be performed if you give no argument at all. so like… if you say nothing, this is what happens. main character energy, honestly πŸŽ€
  • --cache β€” removes the cache directories. bye cache πŸ’€
  • --chroot β€” unmounts and removes the chroot directory. unmount and remove, both. very thorough of it ✨
  • --binary β€” removes all binary related caches, files, directories, and stages files. all of them. the whole binary situation πŸ”₯
  • --purge β€” removes everything, including all caches. the config directory is kept tho, she survives πŸ’–
  • --remove β€” removes everything, including package cache but not stage cache. the config directory is kept here too. subtle difference, iykyk πŸ‘€
  • --stage β€” removes all stage files.
  • --source β€” removes all source related caches, files, directories, and stage files.

πŸŽ€ FILES πŸŽ€

auto/clean

🌈 SEE ALSO 🌈

this program is a part of live-build. 🫢


πŸ“ HOMEPAGE πŸ“

more info about live-build and the Debian Live project lives on the homepage at http://live.debian.net/ and in the manual at http://live.debian.net/manual/. go read, bestie, it's iconic πŸ“šβœ¨


πŸ’€ BUGS πŸ’€

found a bug? (not me manifesting one πŸ™ˆ) you can report it by submitting a bugreport for the live-build package in the Debian Bug Tracking System at http://bugs.debian.org/, or by writing a mail to the Debian Live mailing list at debian-live@lists.debian.org.


πŸ’œ AUTHOR πŸ’œ

live-build was written by Daniel Baumann <daniel@debian.org> for the Debian project. king behavior πŸ‘‘


okay and that's the whole page, periodt πŸ’… this was live-build version 3.0~a57-1, dated 2012-08-10, and the manual you just read was LIVE-BUILD(1) β€” love that for us πŸ¦‹πŸŒΈ stay clean, stay caffeinated, and go lb clean responsibly πŸ’–βœ¨