how to maintain multiple active versions of a port (e.g. octave)?
Ryan Schmidt
ryandesign at macports.org
Fri Sep 23 07:09:52 PDT 2016
> On Sep 23, 2016, at 09:04, Ray Zimmerman <rz10 at cornell.edu> wrote:
>
>> To build a previous version of a port:
>>
>> https://trac.macports.org/wiki/howto/InstallingOlderPort
>>
>> You can have multiple versions of a port installed at the same time, but only one active and usable at a time. You can switch between them by activating whichever one you want at the moment, but this may have consequences for any other installed ports that depend on the port whose version you're switching.
>
> Ok, this sounds like something I could make use of now. I’m not familiar with the details of what activating a port does. Is it simply a matter of what get’s put in your executable path, or is there more to it?
An installed port is a compressed tarball of files. Activating a port extracts that tarball into /opt/local.
> I guess my real question is, can I create a few symlinks to be able to execute a deactivated octave port without activating it? If so, that may be good enough for my purposes.
No, when a port is not active, the files you propose to symlink against do not exist.
More information about the macports-users
mailing list