[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change default package directory from octave to .octave, or ask befo

From: Mike Miller
Subject: Re: Change default package directory from octave to .octave, or ask before first package installation
Date: Mon, 27 Aug 2018 11:03:57 -0700
User-agent: Mutt/1.10.1 (2018-07-13)

On Mon, Aug 27, 2018 at 16:27:11 +0000, Tasos Papastylianou wrote:
> The current choice of default installation directory for octave
> packages feels very intrusive.


> I'm hoping for some discussion on whether others feel this is a
> significant enough annoyance or not. I note that on Windows the
> default folder is much more reasonable (but I understand why the same
> folder wouldn't work in the Linux hierarchy).
> Acceptable solutions in my mind would be a more reasonable (w.r.t.
> unix filesystem philosophy) default prefix directory, e.g. ".octave" /
> ".octave/lib" etc, or a directory confirmation / warning before
> installation of the *first* package (i.e., similar to how Julia does
> it ).

I personally use the following configuration:

  ~/.local/share/octave/${ver}/octave_packages  (cache file)

IMHO this is the most consistent with other programs and filesystem
conventions, as well as conveniently allowing different sets and builds
of packages for each Octave release (as a developer, I switch between
multiple Octave releases regularly).

BTW, the ${ver} variable in the names above is only "4.2" or "4.4",
since compiled oct functions are *usually* compatible with subsequent
bug fix releases.

Do you think Octave should change to use a default like this?


Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]