ExtractPacletArchive[file]
extracts the contents of the paclet archive file into the directory in which file resides.
ExtractPacletArchive[file,destdir]
extracts the contents of the paclet archive file into destdir.
ExtractPacletArchive
ExtractPacletArchive[file]
extracts the contents of the paclet archive file into the directory in which file resides.
ExtractPacletArchive[file,destdir]
extracts the contents of the paclet archive file into destdir.
Details and Options
- ExtractPacletArchive returns the full path to the extracted paclet directory, or $Failed if there is an error.
- Paclet archive files are created by CreatePacletArchive.
- Paclet archive file names end in .paclet.
- ExtractPacletArchive is called internally by PacletInstall, and rarely called directly by users.
- You can use ExtractPacletArchive to examine the contents of a paclet archive file without installing it.
- ExtractPacletArchive allows the following option:
-
Verbose False whether to print out the names of files and directories as they are extracted
Examples
open all close allBasic Examples (1)
Extract a sample paclet archive file to a temporary directory:
samplePacletArchive = FileNameJoin[{$InstallationDirectory, "Documentation", "English", "System", "ExampleData", "SamplePaclet-1.0.paclet"}];ExtractPacletArchive[samplePacletArchive, $TemporaryDirectory]The .paclet file has been uncompressed to a directory containing the paclet's contents:
DirectoryQ[%]Options (1)
Verbose (1)
The Verbose option lets you print out a report of the contents of the paclet as it is extracted:
samplePacletArchive = FileNameJoin[{$InstallationDirectory, "Documentation", "English", "System", "ExampleData", "SamplePaclet-1.0.paclet"}];ExtractPacletArchive[samplePacletArchive, $TemporaryDirectory, Verbose -> True]Related Guides
History
Text
Wolfram Research (2020), ExtractPacletArchive, Wolfram Language function, https://reference.wolfram.com/language/ref/ExtractPacletArchive.html.
CMS
Wolfram Language. 2020. "ExtractPacletArchive." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ExtractPacletArchive.html.
APA
Wolfram Language. (2020). ExtractPacletArchive. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ExtractPacletArchive.html
BibTeX
@misc{reference.wolfram_2026_extractpacletarchive, author="Wolfram Research", title="{ExtractPacletArchive}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ExtractPacletArchive.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_extractpacletarchive, organization={Wolfram Research}, title={ExtractPacletArchive}, year={2020}, url={https://reference.wolfram.com/language/ref/ExtractPacletArchive.html}, note=[Accessed: 12-June-2026]}