setup.types(5)

πŸ“¦
version 5.0.1 Β· 2 versions
, in nixos 26.05, nixpkgs unstable, ubuntu stonking

πŸ’– setup.types(5) πŸ’–

okay bestie, welcome to the manual page for setup.types β€” the epm gui setup types file format, brought to you by Jim Jagielski. yes we're doing a whole deep dive, grab a snack πŸ“


✨ NAME ✨

setup.types β€” epm gui setup types file format.


🌸 DESCRIPTION 🌸

so here's the vibe. the EPM setup(1) program is normally giving the user a whole list of software products to install, and that whole situation is called a "custom" software installation. very main character, very choose-your-own-adventure.

BUT πŸ’… β€” if there's a file called setup.types sitting in the package directory, everything changes. instead of the product list, the user gets presented with a list of installation types. each type comes with its own associated product list, and that list decides which products get installed by default. slay.

and if a type has no products associated with it? then it's treated as a custom installation, and the user gets handed the list of packages to choose from. full menu, no filter. periodt.


πŸŽ€ FILE FORMAT πŸŽ€

the setup.types file is an ASCII text file, and it's made up of type lines and product lines. that's it, that's the whole thing.

want to leave a comment? start the line with the pound sign (#). go off, annotate your heart out πŸ’œ

every installation type is defined by a line that starts with the word TYPE. every product is defined by a line that starts with the word INSTALL:. here's the whole thing in action:

TYPE Typical End-User Configuration
INSTALL foo
INSTALL foo-help
TYPE Typical Developer Configuration
INSTALL foo
INSTALL foo-help
INSTALL foo-devel
INSTALL foo-examples
TYPE Custom Configuration

okay so in that example up there we've got three installation types defined. and the last one includes no products at all β€” so the user gets presented with the full list of products to choose from. iykyk 😌


πŸ¦‹ SEE ALSO πŸ¦‹


Copyright Β© 1999-2020 by Michael R Sweet, All Rights Reserved.

Copyright Β© 2020 by Jim Jagielski, All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

fr fr, read the license, it's important, no cap πŸ™ˆ

and that's the whole page bestie πŸ’– this little setup-types saga comes courtesy of the ESP Package Manager, dated 20 November 2020, and yes this was setup.types(5) the entire time. go forth and define your types 🧚✨🫢

πŸ“¦ where this page comes from