From owner-freebsd-questions@FreeBSD.ORG Tue May 2 22:24:59 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 289D416A41A for ; Tue, 2 May 2006 22:24:59 +0000 (UTC) (envelope-from danielby@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc6-cmbg1-0-0-cust82.cmbg.cable.ntl.com [82.10.236.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2BC7143D46 for ; Tue, 2 May 2006 22:24:57 +0000 (GMT) (envelope-from danielby@slightlystrange.org) Received: from danielby by catflap.slightlystrange.org with local (Exim 4.61 #1) id 1Fb3Ie-00033L-Md by authid for ; Tue, 02 May 2006 23:24:56 +0100 Date: Tue, 2 May 2006 23:24:56 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20060502222456.GA81178@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <20060502172801.GB61778@catflap.slightlystrange.org> <20060502210618.GA26953@catflap.slightlystrange.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="opJtzjQTFsWo+cga" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: danielby@slightlystrange.org X-SA-Exim-Scanned: No (on catflap.slightlystrange.org); SAEximRunCond expanded to false Subject: Re: nubie question - Ports - Ruby 1.8.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2006 22:25:01 -0000 --opJtzjQTFsWo+cga Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 02, 2006 at 05:52:14PM -0400, Bakki Kudva wrote: > FIXED! I have Ruby 1.8.4 in my tree now. >=20 > I had not done... > # portsnap extract >=20 > I was a bit mislead because when I did > # portsnap fetch > after downloading it said it was 'extracting'. So I skipped extract. My b= ad. >=20 > I still would like to ask you gurus a couple of questions if I may. >=20 > 1. During sysinstall it had asked me if I wanted the ports collection > installed which had 13,000 apps, would take 400MB of space yada yada > yada...I assumed by saying yes and since I was installing off the boot > only CD I would get the LATEST ports from the main site. Why didn't I? > In chapter 4.5 of the handbook portsnap is given as an alternative to > sysinstall. So what is the difference between ports installed via > sysinstall vs. that from portsnap? The ports tree installed by the CD was made at the same time the release was cut. So, due to the enormous amount of work done by all the many porters, it is pretty much obsolete within minutes. The reason? Logistics, pure and simple. It would be impracticable to try and keep the ports tree up to date for the ISOs. I think this applies to the boot-only ISO as well - the installer knows which release it is installing, so it automatically goes and finds the version of the ports tree that was released at the same time. If you have a reasonable connection to the Internet, use portsnap or cvsup to keep your ports tree up to date, as the handbook says. Portsnap maintains some metadata so it can easily track which snapshot you last applied, and can find the appropriate updates to bring you up to date. By contrast, as explained above, sysinstall will install the ports tree as it was at the time your release was cut. (I believe it is possible to tell it to install a different release's ports tree, but why you'd want to isn't quite clear.) Others will assuredly know more of this than I, and if I have anything wrong they will doubtless correct me! (Well, I hope so, any way ;-) > 2. Unrelated: I did a pkg_version and see that there are a whole bunch > of packages (may be 80-90%) which need updating. I am just trying > FreeBSD for now on my laptop which is an old Gateway with Pentium II > 400 MHz. It took nearly 2-3 days (it would pause with some dialog > which needed human input so I am not sure how long it might have taken > with me sitting in front of it all the time) to install gnome2 from > the ports. I don't know how long it might take to do a complete system > upgrade. So the question I have is on current technology (say Athlon64 > or Coreduo with 1GB of RAM) how long does it take to install a > complete system + upgrade it to the ports tree for a X-developer > workstation? Sorry about the loaded question. I have an Acer Aspire 1360 laptop (AMD Sempron 3000+ (actually rated at 1801.04 MHz, according to dmesg(1)), 512MB RAM), and it takes around 9 or 10 hours to build OpenOffice 2.0. I don't use Gnome or KDE, so don't have any experience of build times on this particular machine. A buildworld takes around an hour and a half to two hours (I don't tend to take measurements, I'm afraid, so am probably not the best person to answer this bit of your question!) I remember from a previous job, using some AMD64 machines with 2GB RAM, a buildworld was complete in something like 45 minutes. That was 5.2-RELEASE. On the other hand, I have an UltraSPARC machine that takes about 9 hours to buildworld... Dan --=20 Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --opJtzjQTFsWo+cga Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEV9w4ixf5fBYiFmoRAmwCAJ9IXXWXVl+QFQ0h3rngW4sJ7HIxXACbB7bP vXEN4eLe3lgoQ6wx86XP8kA= =3V/U -----END PGP SIGNATURE----- --opJtzjQTFsWo+cga--