LIVE-BUILD(1)
π 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-buildcommands 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 πβ¨
π¦ where this page comes from
- ubuntu jammy: live-build 3.0~a57-1ubuntu41 Β· GPL-3.0-or-later
- ubuntu jammy: live-build 3.0~a57-1ubuntu41.22.04.1 Β· GPL-3.0-or-later
- ubuntu noble: live-build 3.0~a57-1ubuntu49 Β· GPL-3.0-or-later
- ubuntu noble: live-build 3.0~a57-1ubuntu49.1 Β· GPL-3.0-or-later
- ubuntu questing: live-build 3.0~a57-1ubuntu52
- ubuntu resolute: live-build 3.0~a57-1ubuntu54 Β· GPL-3.0-or-later
- ubuntu stonking: live-build 3.0~a57-1ubuntu56 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms