From owner-freebsd-questions Tue Mar 11 12:43: 3 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 261D737B401 for ; Tue, 11 Mar 2003 12:43:02 -0800 (PST) Received: from mired.org (ip68-97-54-220.ok.ok.cox.net [68.97.54.220]) by mx1.FreeBSD.org (Postfix) with SMTP id E999C43FE9 for ; Tue, 11 Mar 2003 12:43:00 -0800 (PST) (envelope-from mwm-dated-1047847380.948667@mired.org) Received: (qmail 32756 invoked from network); 11 Mar 2003 20:43:00 -0000 Received: from localhost.mired.org (HELO guru.mired.org) (127.0.0.1) by localhost.mired.org with SMTP; 11 Mar 2003 20:43:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15982.19027.700753.677958@guru.mired.org> Date: Tue, 11 Mar 2003 14:42:59 -0600 To: "Lee Harr" Cc: freebsd-questions@freebsd.org Subject: Re: Installing ports witout internet In-Reply-To: References: X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`; h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: Mike Meyer X-Delivery-Agent: TMDA/0.71 (Hoop, Jr.) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In , Lee Harr typed: > >I've always used FreeBSD on machines connected to the internet... so I > >have never experienced installing applications offline. > >My question is: Is it possible to install applications (using the port > >collection ) on a machine that's not connected to the internet? > >If yes, what are the requirements? > Once you disconnect from the network, you have to do all of the > dependency checking, downloading, transferring, building, etc > manually. It won't be fun. No, all you have to do is download the files manually. Once they in /usr/ports/distfiles, you can use the standard ports makefiles to build and install things. The real catch is that you have to fetch all the dependency distfiles for the port as well as it's distfile. If you have a part-time connection, you can do "make fetch-recursive" while you're online, and the ports system will fetch all the dependencies for you. Second best is to do "make fetchrecursive with DISTDIR pointing at an empty directory which you're going to populate and transfer to your system. Worst is to do "make all-depends-list" to get the complete dependency list, then go to each port listed and see what it fetches, then fetch and transfer them independently. http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message