Mercurial > octave
changeset 29885:8859d8d1d275
doc: Update default location of local package store (bug #58299).
* doc/interpreter/package.txi: The default locations of the local package store
and configuration use the "api_version" string instead of the "major_version"
string as identifier.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 15 Jul 2021 10:16:37 +0200 |
parents | 0bd113ec8c37 |
children | ebd1ac75e99f |
files | doc/interpreter/package.txi |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/package.txi Wed Jul 14 20:23:20 2021 -0700 +++ b/doc/interpreter/package.txi Thu Jul 15 10:16:37 2021 +0200 @@ -142,7 +142,7 @@ @file{@var{OCTAVE_HOME}/share/octave/packages/}. If the user is not @code{root} (or without elevated rights), packages are installed locally. The default installation directory for local packages is -@file{@var{user_data_dir}/octave/@var{OCTAVE_MAJOR_VERSION}/packages}. +@file{@var{user_data_dir}/octave/@var{OCTAVE_API_VERSION}/packages}. Packages will be installed in a subdirectory of the installation directory that will be named after the package. It is possible to change the installation directory by using the @code{pkg prefix} @@ -162,7 +162,7 @@ The package manager stores some information about the installed packages in configuration files. For per-user (local) packages, this information is stored in the file -@file{@var{user_config_dir}/octave/@var{OCTAVE_MAJOR_VERSION}/octave_packages} +@file{@var{user_config_dir}/octave/@var{OCTAVE_API_VERSION}/octave_packages} by default. For system-wide (global) installations, it is stored in @file{@var{OCTAVE_HOME}/share/octave/octave_packages}. The path to the per-user file can be changed with the @code{pkg local_list} command: