aspcud(1)
π aspcud β the manual page, but make it make sense
okay bestie, welcome to aspcud(1), from the USER COMMANDS section of the manual. this is the whole vibe, let me walk you through it π«Ά
β¨ NAME β¨
aspcud β solve dependencies between packages π
like, it literally figures out which packages go together. no cap.
πΈ SYNOPSIS πΈ
aspcud [OPTION]... [INPUT-FILE] [OUTPUT-FILE] [CRITERION]
π¦ DESCRIPTION π¦
okay so aspcud solves package installation / removal / upgrade problems, and those problems get expressed in the CUDF format. it's intended to be called by package installers, but bestie, it can also be used independently. main character energy fr.
and here's the thing β if the tool can't find a solution? it writes "FAIL" to the output file. that's it. that's the message. π
π ARGUMENTS π
these are the command-line arguments it accepts, and yes, all three of them matter:
- INPUT-FILE β the pathname of the file holding the problem specification in CUDF format (both the universe and the request, the whole package π). if it's absent, the specification is read from
stdin. - OUTPUT-FILE β the pathname of the file the solution gets written into, in CUDF output format. if the file doesn't exist, it gets created; if it already exists, it gets overwritten without warning π³ (yes, no warning, no take-backs, she does not ask). if it's absent, output goes to
stdout. - CRITERION β selects the optimization criterion. to get a list of supported criteria, go look at the
-coption ofcudf2lp(1). if it's absent, the paranoid criterion is used. also, heads up: the criterion can be passed via the--criterionoption too. two ways, same slay π
β¨ OPTIONS β¨
aspcud supports these options, and yes, we're doing all of them:
-h,--helpβ print help text, and default configurations and paths-v,--versionβ print version and license information-c,--criterionCRIT β set the optimization criterion-s,--solver-optionOPT β appendclaspoption OPT (can be given multiple times); if at least oneclaspoption is given, then default search options are not used-g,--grounder-optionOPT β appendgringooption OPT (can be given multiple times)-e,--encodingENC β append encoding ENC (can be given multiple times); if at least one encoding is given, then the default encoding is not used-p,--preprocessor-optionOPT β appendcudf2lpoption OPT (can be given multiple times)-S,--solverSOL β path to solver (clasp)-G,--grounderGRD β path to grounder (gringo)-P,--preprocessorPRE β path tocudfpreprocessor (cudf2lp)-V,--verbosityN β set the verbosity level-d,--debugβ do not cleanup temporary files
ngl the-sand-eones are sneaky β the second you pass even one of them, the defaults dip out. no defaults, no problem, but know it π
π ENVIRONMENT VARIABLES π
aspcud uses temporary files, periodt. these get put into the folder indicated by the environment variable TMPDIR or, if that's not set, by the POSIX constant P_tmpdir. π
π AUTHOR π
aspcud has been written by Roland Kaminski and Martin Gebser. legends, honestly. π«Ά
π SEE ALSO π
cudf2lp(1)gringo(1)clasp(1)- and
<http://www.mancoosi.org/cudf/>for the specification of the CUDF format πΈ
and that's the whole page, bestie β go solve some dependencies, you're literally the solver now β¨
this was Version 1.9.6, dated May 01, 2022. mwah, go off ππ
π¦ where this page comes from
- alpine 3.24: aspcud-doc 1.9.6-r10 Β· MIT
- debian bookworm: aspcud 1:1.9.6-2 Β· MIT
- debian trixie: aspcud 1:1.9.6-2 Β· MIT
- nixos 26.05: aspcud 1.9.6
- nixpkgs unstable: aspcud 1.9.6
- ubuntu noble: aspcud 1:1.9.6-2 Β· MIT
- ubuntu resolute: aspcud 1:1.9.6-3 Β· MIT
- ubuntu stonking: aspcud 1:1.9.6-3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms