CDIST-TYPE__PACKAGE_APK(7)
πΈ CDIST-TYPE__PACKAGE_APK(7) πΈ
okay bestie, so this is a page from the cdist manual β it's called cdist-type__package_apk and it's your girl for handling packages with apk. Manual section 7, in case you were wondering. π
β¨ NAME β¨
cdist-type__package_akp β Manage packages with akp
not me noticing the manpage literally spells itakpup in the NAME andapkeverywhere else π keeping it exactly as written, no edits, periodt.
π¦ DESCRIPTION π¦
apk is usually the thing you use on Alpine to manage packages. that's the whole vibe. ποΈβ¨
π REQUIRED PARAMETERS π
None π
like, zero. nothing. you're free. no required params, no pressure, main character energy fr fr.
π OPTIONAL PARAMETERS π
nameβ if you actually supply this, cdist uses the name you gave as the package name instead of using the object id. so it's giving "i have opinions about what this package is called" πstateβ either"present"or"absent". and if you just... don't say anything? it defaults to"present". the default is lowkey doing the most so you don't have to π«Ά
π EXAMPLES π
here's the tea, two whole examples, copy them exactly bestie:
# Ensure zsh in installed
__package_apk zsh --state present
# Remove package
__package_apk apache2 --state absent
first one: zsh gets installed, --state present, slay. π second one: apache2 gets removed, --state absent, bye boo ππ
(yes, the comment really says "in installed" β we don't fix the original around here, we honor it π)
π§ SEE ALSO π§
cdist-type__package(7)β go read the parent type too, iykyk π
β AUTHORS β
Nico Schottelius <nico-cdist--@--schottelius.org> β iconic, we thank them πβ¨
π COPYING π
Copyright (C) 2019 Nico Schottelius. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. π«Ά
fr fr, that's the license, respect it. π
πΈ COPYRIGHT πΈ
ungleich GmbH 2021 π
and that's the whole page bestie, no cap. this was version 7.0.0, dated Jul 31, 2022, coming at you straight from the cdist manual. go forth and manage those packages πβ¨π¦π
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms