COPYDEPS(1)
β¨ COPYDEPS(1) β¨
okay bestie, welcome to the User Commands Manual section, this is the copydeps page and it's lowkey a lifesaver π«Ά
π NAME π
copydeps β copy a program's dependencies (the .so / .dll files, you know the ones)
πΈ SYNOPSIS πΈ
copydeps [OPTIONS] EXECUTABLE [TARGET-DIR]
π¦ DESCRIPTION π¦
so like. copydeps is this tiny lil program that finds and copies every single .so / .dll file your program needs in order to actually run. no cap. it's giving "packing your whole friend group into one car for the road trip" energy β and it's super useful when you wanna bundle an application together with all its dependencies π
EXECUTABLE can be any one of these supported formats, periodt:
- 32-bit ELF
- 64-bit ELF
- i386 Microsoft Windows executable
- x86_64 Microsoft Windows executable
TARGET-DIR is the directory the .so / .dll files get copied into. and when you justβ¦ don't say it? it defaults to the directory of the target executable. she's flexible like that β¨
π OPTIONS π
--dry-runβ just prints the list of dependencies, doesn't actually copy any of the.so/.dllfiles. window shopping, basically ποΈ--exedirβ adds the directory of the executable into the.so/.dllresolve paths. and here's the tea: files found in the exedir are preferred over files found anywhere else π--helpβ prints a short help message and dips out. bye π--ignore PATTERNβ adds the regular expressionPATTERNto the ignore-list. that's.so/.dllnames that should not be resolved nor copied over. we're leaving them at home π--no-clobberβ do not overwrite.so/.dllfiles that already exist in the target directory. respectful. we love to see it π--override PATTERNβ adds the regular expressionPATTERNto the override-list, aka.so/.dllnames that should always be resolved and copied over. and heads up: overrides take precedence over ignores π₯--search-dir DIRECTORYβ addsDIRECTORYto the list of paths to search when resolving.so/.dllnames. user-specified directories take precedence over system paths, as they should π--verboseβ prints the names of the dependencies as they're being copied over. narrating the whole thing, main character energy π¬--versionβ prints version information and exits π·οΈ
π EXIT STATUS π
0β Success. slay π1β An error in program arguments. you said something weird bestie π2β Failed to parseEXECUTABLE, or it's an unsupported format π3β Failed to parse one of the.so/.dllfiles β doesn't matter if it's a direct dependency ofEXECUTABLEor a dependency of another library π«4β Failed to resolve one or more of the dependency names π5β An error occurred when copying one or more of the files π¨
β SEE ALSO β
and that's the whole page, bestie!! this lil cutie comes from the User Commands Manual and is dated 2020-06-28 β go forth and bundle your deps, ily, mwah πβ¨
π¦ where this page comes from
- fedora 43: copydeps 5.0.1-11.fc43 Β· GPL-3.0-or-later AND MIT AND Unicode-DFS-2016 AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)
- fedora 44: copydeps 5.0.1-12.fc44 Β· GPL-3.0-or-later AND MIT AND Unicode-DFS-2016 AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms