Re: Has Package Directory Moved?

Andrew Janke <[email protected]> Thu, 27 Jan 2022 23:17:53 -0500
Newsgroups gmane.comp.gnu.octave.general
Message-ID <[email protected]>

On 1/27/22 10:07 PM, Thomas D. Dean wrote:
> GNU Octave, version 7.0.1 from hg source
> 
> It appears that octave no longer looks into the $(HOME)/octave directory 
> for packages.
> 
> octave:1> ver
> ----------------------------------------------------------------------
> GNU Octave Version: 7.0.1 (hg id: 02b11b9f1e61+)
[...]
> 
>  >pkg install --forge control
> creates a directory ~/.local/share/octave
> 
> I have octave installed in /usr/local
> 
> This reeks of windows. How do I fix this?
> 
> Tom Dean


That's the FreeDesktop/XDG User Dirs specification, not Windows.

* https://www.freedesktop.org/software/systemd/man/file-hierarchy.html

* https://www.freedesktop.org/wiki/Software/xdg-user-dirs/

Dunno when Octave adopted it.

Cheers,
Andrew


----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help