[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave package location [was: regarding location of Matlab compatibl
From: |
ederag |
Subject: |
Re: Octave package location [was: regarding location of Matlab compatible polygon functions] |
Date: |
Sun, 10 Apr 2016 16:54:35 +0200 |
User-agent: |
KMail/4.14.9 (Linux/3.16.7-35-desktop; KDE/4.14.9; x86_64; ; ) |
On Friday, April 08, 2016 09:50:28 Juan Pablo Carbajal wrote:
>...
> It might be useful for your to keep your installation at the user
> level (I do this unless I am admin of a public machine, in which case
> I use debian package manager).
> You do this with
>
> pkg prefix ~/.octave/ ~/.octave;
>
> Then octave will install packages in ~/.octave
It is also possible to put the following in the .octaverc
"""
# need to give separately the octave-pkg/<version>/system_dependent argument
# otherwise ~/octave is used as a basename.
# ! do not forget the ~/
pkg ("prefix", ["~/octave-pkg/" version], ["~/octave-pkg/" version]);
# ~/ not understood here
# replace <user> with your user name
pkg ("local_list", ["/home/<user>/.octave_packages_" version]);
"""
Then several octave versions may coexist peacefully.
Of course for new versions all packages have to be installed again.
This is working fine from 3.8.0 to 4.1.0+
Best regards,
Ederag