• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

15.2 Built-in predicates for attaching packs
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Packs: community add-ons
        • Built-in predicates for attaching packs
          • attach_packs/0
          • attach_packs/1
          • attach_packs/2
          • pack_attach/2
    • Packages
Availability:built-in
Sourcepack_attach(+PackDir, +Options)
Attach a single package in PackDir. PackDir is expected to contain a file‘pack.pl` with the pack metadata and a‘prolog` directory. Options processed:
duplicate(+Action)
What to do if the same package is already installed in a different directory. Action is one of
warning
Warn and ignore the package.
keep
Silently ignore the package.
replace
Unregister the existing and insert the new package
search(+Where)
Determines the order of searching package library directories. Default is last, alternative is first.
ClioPatria (version V3.1.1-51-ga0b30a5)