[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: Salva Ardid
Subject: Re: Change default package directory from octave to .octave, or ask before first package installation
Date: Mon, 27 Aug 2018 14:39:27 -0400

El dilluns, 27 d’agost de 2018, a les 14:03:57 EDT, Mike Miller va escriure:

  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?
That would be a great default, in my opinion


Salva Ardid, PhD
Boston University

reply via email to

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