help-octave
[Top][All Lists]
Advanced

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

Re: How to co-install forge package both stable and development versions


From: Mike Miller
Subject: Re: How to co-install forge package both stable and development versions on linux
Date: Wed, 27 Jul 2016 11:19:04 -0700
User-agent: Mutt/1.6.0 (2016-04-01)

On Wed, Jul 27, 2016 at 10:28:05 +0900, Tatsuro MATSUOKA wrote:
> Platform            : Ubuntu 14.04 amd 64 LTS.
> Tried forge package : gsl
> Issue               : overwritten "pkg install" for different version
> 
> 
> execute octave 4.0.3 
> 
> 
> pkg prefix /home/tatsuro/work/octave/octave-forge/4.0.3 
> /home/tatsuro/work/octave/octave-forge/4.0.3
> pkg install gsl-1.1.0.tar.gz
> 
> 
> "pkg list" tells that the package is installed in 
> /home/tatsuro/work/octave/octave-forge/4.0.3
> 
> After that 
> 
> execute octave 4.1.0+
> 
> 
> pkg prefix /home/tatsuro/work/octave/octave-forge/4.1.0+ 
> /home/tatsuro/work/octave/octave-forge/4.1.0+
> pkg install gsl-1.1.0.tar.gz
> 
> 
> "pkg list" tells that the package is installed in 
> /home/tatsuro/work/octave/octave-forge/4.1.0+
> 
> After that
> 
> execute octave 4.0.3 
> 
> "pkg list" tells that the package is installed in 
> /home/tatsuro/work/octave/octave-forge/4.1.0+
> 
> I cannot use gsl package unless re-install on octave-4.0.3.
> 
> How can I co exist gsl package for 4.0.3 and 4.1.0+?
> 
> On windows, the octave install package is self contained.
> octave for packages does not interfere.

In addition to pkg prefix, you might also want to set the pkg local_list
variable. This is a file that stores the cache of all installed
packages, which is regenerated with `pkg rebuild` or when a package is
installed or re-installed.

-- 
mike



reply via email to

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