- Categories:
System functions (System Information)
GET_ ANACONDA_ PACKAGES_ REPODATA¶
Returns a list of third-party packages that are available from Anaconda. For more information, see Packages policies.
语法
实参
architectureString specifying the architecture, which can be:
linux-64,linux-aarch64, ornoarch.
返回
Returns a JSON string that contains the contents of repodata.json, which is an index of the packages in a subdir. A subdir represents a particular archtecture. Each subdir will have its own repodata.
For more information, see the Conda documentation (https://docs.conda.io/projects/conda-build/en/stable/concepts/generating-index.html#repodata-json)
访问控制要求
您必须使用该 ACCOUNTADMIN 角色来调用此函数。
示例
The following example gets the list of third-party packages from Anaconda for linux-64.