|
From: | Markus Mützel |
Subject: | [Octave-bug-tracker] [bug #59821] [octave forge] (ga) pkg update with ga 0.10.2 installs in user home folder instead of packages folder on windows |
Date: | Tue, 5 Jan 2021 05:57:17 -0500 (EST) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 Edg/87.0.664.66 |
Follow-up Comment #13, bug #59821 (project octave): Re comment #10 "without changing core Octave behavior": Functions in packages might shadow functions in core Octave. So packages potentially change core Octave behavior (and afaict some do). Re comment #11: IIRC, behavior on Linux is that packages are installed globally by default if Octave runs with root privileges. They are installed locally by default if Octave runs without root privileges. Similarly on Windows, packages install globally by default if Octave runs with elevated privileges ("Run as administrator"). They are installed locally by default otherwise. Re comment #9: Local package installations always shadow global package installations (independent on version or installation order). Re comment #12: I didn't look at the code. But I assume `-global` can be used as a parameter for `pkg update`, too. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59821> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |