<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, folks:<br>
<br>
I have the current version of a port installed. I have never had an
earlier version installed. But I would like to install an earlier
version now. How can I do this?<br>
<br>
Adding a version specifier to <b>port install</b> doesn't seem to
be effective, I only get the current version. Nor does the <a
href="https://guide.macports.org/#using.port">port command
documentation</a> say that a version specifier is respected. <br>
<p><b>port activate</b> doesn't work, because I hadn't downloaded
the older version earlier.<br>
</p>
<pre>% port installed MPlayer
The following ports are currently installed:
MPlayer @1.3.0_0 (active)
% sudo port activate <a class="moz-txt-link-abbreviated" href="mailto:MPlayer@1.1_8">MPlayer@1.1_8</a>
Error: port activate failed: Registry error: MPlayer @1.1_8 is not installed.
% sudo port install <a class="moz-txt-link-abbreviated" href="mailto:MPlayer@1.1_8">MPlayer@1.1_8</a>
Password:
---> Computing dependencies for MPlayer
---> Cleaning MPlayer
---> Scanning binaries for linking errors
---> No broken files found.
% port installed MPlayer
The following ports are currently installed:
MPlayer @1.3.0_0 (active)</pre>
Putting a space between the port name and version specifier didn't
seem to make any difference, either.
<p>Is there a way to get a specific older version of a port now, if
I hadn't downloaded it earlier?<br>
Thanks in advance for your help.</p>
<pre class="moz-signature" cols="72">--
--Jim DeLaHunt, <a class="moz-txt-link-abbreviated" href="mailto:jdlh@jdlh.com">jdlh@jdlh.com</a> <a class="moz-txt-link-freetext" href="http://blog.jdlh.com/">http://blog.jdlh.com/</a> (<a class="moz-txt-link-freetext" href="http://jdlh.com/">http://jdlh.com/</a>)
multilingual websites consultant
157-2906 West Broadway, Vancouver BC V6K 2G8, Canada
Canada mobile +1-604-376-8953
</pre>
</body>
</html>