PacletDisable

PacletDisable[paclet]

disables an installed paclet.

Details

  • Paclets can be specified in any of the following ways:
  • "name"name of an installed paclet
    "name""version"a specific version of an installed paclet
    PacletObject[]a reference to an installed paclet
  • PacletDisable returns a list of the PacletObject expressions corresponding to the newly disabled paclets, which will be an empty list if the paclet was already disabled or does not exist.
  • When a paclet is disabled, its resources are no longer available to the Wolfram System (although if some resources like .wl files have already been loaded in the current session, this cannot be undone).
  • A disabled paclet remains disabled in future sessions until either it is enabled by PacletEnable or a new version of the paclet is installed.
  • When paclet is specified only by name, all installed versions of that paclet become disabled; when a name and version number are given, or a PacletObject expression, only that version of the paclet becomes disabled.
  • Installed paclets are enabled by default.
  • You can use PacletObject[]["Enabled"] to see the enabled state of a paclet, and PacletFind[<|"Enabled"False|>] to find all disabled paclets.

Examples

Basic Examples  (2)

Acquire ExamplePaclet from the Wolfram paclet server, if it is not already installed:

It is enabled by default:

It exports the context "ExamplePaclet`", and that context can be found by the system:

Disable the paclet:

Its resources can no longer be seen by the system:

Uninstall the paclet:

Find all disabled paclets on the system:

Wolfram Research (2020), PacletDisable, Wolfram Language function, https://reference.wolfram.com/language/ref/PacletDisable.html.

Text

Wolfram Research (2020), PacletDisable, Wolfram Language function, https://reference.wolfram.com/language/ref/PacletDisable.html.

CMS

Wolfram Language. 2020. "PacletDisable." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PacletDisable.html.

APA

Wolfram Language. (2020). PacletDisable. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PacletDisable.html

BibTeX

@misc{reference.wolfram_2024_pacletdisable, author="Wolfram Research", title="{PacletDisable}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/PacletDisable.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_pacletdisable, organization={Wolfram Research}, title={PacletDisable}, year={2020}, url={https://reference.wolfram.com/language/ref/PacletDisable.html}, note=[Accessed: 21-November-2024 ]}