PacletInstallSubmit

PacletInstallSubmit[paclet]

asynchronously installs or updates paclet.

Details and Options

Examples

open allclose all

Basic Examples  (3)

Install a paclet from the Wolfram paclet server:

The task will finish in the background. You can choose to wait for completion:

The paclet has been installed:

If the paclet is already installed, and no update is available, the existing installed paclet is returned:

No paclet of this name can be found on any known paclet site:

Options  (5)

AllowVersionUpdate  (1)

Now install Version 1.0 from the Wolfram paclet server:

ExamplePaclet also has a 2.0 version on the server, but the AllowVersionUpdateFalse option will prevent your local copy from being updated:

ForceVersionInstall  (1)

Uninstall any existing version of ExamplePaclet:

This will install Version 2.0 (the highest available version) from the Wolfram paclet server:

Attempts to install an older version will fail:

Use ForceVersionInstall to allow installing an older version when a newer one is already installed:

KeepExistingVersion  (1)

Uninstall any existing version of ExamplePaclet:

Now install Version 1.0 from the Wolfram paclet server:

ExamplePaclet also has a 2.0 version on the server, and the KeepExistingVersionFalse option will prevent your 1.0 version from being deleted when the 2.0 version is installed:

Both versions are present:

PacletSite  (1)

Use the PacletSite option to obtain a paclet from the specified site without registering the site as a permanent known site:

The site used is not present in the list of known paclet sites:

UpdatePacletSites  (1)

Use UpdatePacletSitesTrue to ensure that you have the latest information about what paclets are available from all known paclet sites:

Properties & Relations  (1)

You can use PacletInstall to wait for the task started by PacletInstallSubmit to finish.

Uninstall any existing ExamplePaclet:

Begin the download and installation procedure:

The task will finish in the background, but you can use PacletInstall to wait for it to complete:

Introduced in 2020
 (12.1)