install_packages(8)
β¨ install_packages β the FAI package wrangler β¨
okay bestie, listen up π this is install_packages, and it lives in the System Manager's Manual section of the manual pages (section 8, the sysadmin corner, iykyk). she's a Perl script, she's booked and busy, and she does NOT want you calling her directly.
π NAME π
install_packages β install FAI configured packages. that's the whole job description bestie, and she ate π
πΈ SYNOPSIS πΈ
install_packages
that's it. no arguments. no flags required. she's a no-args queen π
π¦ DESCRIPTION π¦
okay so real talk: this command is only ever called internally by FAI. it is not for you to run by hand, bestie, no cap. FAI calls her, you don't. periodt.
install_packages is a Perl script written for FAI, and her whole thing is selectively installing, holding, removing, or purging packages or tasks. like, she's picky, it's a lifestyle π
her function? she parses the package_config files based on the class definitions of the client. so for example β and I'm literally quoting the vibe here β if the client belonged to the SMTPSERVER class, then install_packages would parse ../package_config/SMTPSERVER for instructions on what packages to install, hold, remove, or purge. iconic behavior honestly β¨
π OPTIONS π
the full menu, no skips, we don't gatekeep here π«Ά
-cβ check the list of packages to see if they're actually known, then dip out and exit. β οΈ heads up: this only works fordebpackages, so if that's not your format she can't help you π-dβ only download the packages, don't install them. and bestie, the variable$aptoptionsmust be set, or this whole plan falls apart π-hβ show help, version, and a lil summary of all the options. the friendly one π₯°-Gβ Generic mode β¨ use this wheninstall_packagesgets called byfai-mirror(using-IG) to create a generic package mirror for different combinations of the class list. this option ignores the logical not operator onPACKAGESlines, and it also ignores packages with the suffix-(likepackagename-). and it only makes sense in download mode, so don't be chaotic with it fr fr π-Hβ show the list of all available commands for the file inpackage_config. the whole menu, chef's kiss π-lβ print only the list of all packages that would be installed, then exit. a preview, a peek, a little trailer πΈ-Lβ same energy as above but with version numbers: prints the list of all packages that would be installed, versions included, then exits. she's thorough π-mMAXβ install onlyMAXpackages at a time. this is the same as setting the shell environment variableMAXPACKAGES. pacing herself, we love a girl who doesn't burn out π§-nβ dry run! do not execute installation commands, just print them. a little dress rehearsal, no consequences π-Nβ do not check whether package names are valid, and remove unknown packages from the list. you can also just set the variableFAI_DISABLE_PACKAGE_NAME_CHECKto1. living dangerously, we support it π«Ά-Pβ print the URIs of all packages that need downloading. only useful when you're also using-d, so pair them up, they're a duo π-pDIRECTORYβ read the configuration files fromDIRECTORYinstead of$FAI/packages_config. pick your own adventure π-sβ download the source of binary packages that are installed. currently supported only for apt-get/aptitude based installations, so check your setup first β-vβ be verbose. tell me everything bestie, I want the tea β
π NOTES π
install_packages expects to find the FAI_ROOT directory somewhere in the filesystem β that's where the class definitions, package configurations, and custom install scripts all live. so if things go weird, that's your first vibe check π
π SEE ALSO π
apt(1)aptitude(8)apt-get(8)dpkg(8)tasksel(1)
this program is part of FAI (Fully Automatic Installation) π check the FAI manual for more on how to use install_packages, bestie. the FAI homepage is https://fai-project.org β go look, it's giving resources π
ποΈ FILES ποΈ
/srv/fai/config/package_config/β the FAI package configuration directory. this is home π
π AUTHOR π
Thomas Lange <lange@cs.uni-koeln.de> β the legend, the moment, the main character π
and that's the whole page, bestie!! β¨ this was FAI 6.5, dated January 2026, and it belongs to install_packages(8) in the System Manager's Manual. slay, go forth, and let FAI call her for you ππ¦π
π¦ where this page comes from
- ubuntu stonking: fai-client 6.6ubuntu1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms