octave-maintainers
[Top][All Lists]
Advanced

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

Re: path for an installed package


From: Juan Pablo Carbajal
Subject: Re: path for an installed package
Date: Wed, 15 Oct 2014 13:31:58 +0200



On Wed, Oct 15, 2014 at 12:13 PM, Colin Macdonald <address@hidden> wrote:
Hi,

How can I find the "base directory" where my package is installed?
E.g., on my system, "pkg install" puts my package in
/home/cbm/octave/octsympy-0.1.0).  How can I find that path?

This looks promising:

>> pfx = pkg ("prefix")

Should I find it myself with "dir"?  Search "path"?  Some secret "pkg"
command?  Hoping its the last one!

thanks,
Colin

--
Colin Macdonald
Associate Professor
Tutorial Fellow at Oriel College
University of Oxford

The option prefix (which generates two outputs) is the way to go.


reply via email to

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