installing packages offline

Ryan Schmidt ryandesign at macports.org
Tue Aug 11 13:08:06 PDT 2009


On Aug 11, 2009, at 13:34, The Trystero wrote:

> very often, the terminal "fetching xxx" goes on forever.
>
> Fetching ruby
> --->  Attempting to fetch ruby-1.8.7-p174.tar.bz2 from
> http://distfiles.macports.org/ruby
>
>
> however, if i copy and paste the url into my web browser and  
> download the
> package from there, it takes a finite amount of time.

I have occasionally also noticed the distfiles mirror taking a long  
time to download (at something like 7KB/sec). Most of the time it's  
plenty fast though.

> how do i get macports to recognize this downloaded file and use it  
> instead
> of trying to fetch a new one? with gems, i simply have to put it in  
> the
> current directory, but that seems not to work with port.

Put the file in /opt/local/var/macports/distfiles/${name}




More information about the macports-users mailing list