From owner-freebsd-questions@FreeBSD.ORG Tue Mar 8 03:58:06 2005 Return-Path: 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 715AE16A4CF for ; Tue, 8 Mar 2005 03:58:06 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCCDF43D6B for ; Tue, 8 Mar 2005 03:58:05 +0000 (GMT) (envelope-from khaled.abu@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so1667444wra for ; Mon, 07 Mar 2005 19:58:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=lNz87iT61Kvi/vi35pYb/CF0feL0RBVVBVqgJF9V2Ey1WhQLFUNVXJG7eyQAOP0jYxpK0/C8SskHr57ePKV6igCtUnxSYFjYA3plVzBXUkdEiELzC29XD7YA8jFj7d3EjNfNsqIv+NPTrQbqezEztf/4TyIz3QpULEPwy8PQKHM= Received: by 10.54.10.23 with SMTP id 23mr54669wrj; Mon, 07 Mar 2005 19:58:05 -0800 (PST) Received: by 10.54.23.34 with HTTP; Mon, 7 Mar 2005 19:58:04 -0800 (PST) Message-ID: Date: Tue, 8 Mar 2005 05:58:04 +0200 From: abu khaled To: freebsd-questions@freebsd.org In-Reply-To: <59c3bcd39070fa5981512857c33932c4@rzweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <59c3bcd39070fa5981512857c33932c4@rzweb.com> Subject: Re: Getting current ports and packages. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: abu khaled List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 03:58:06 -0000 On Mon, 7 Mar 2005 19:12:39 -0800, Ron Gilbert wrote: > > I posted the following message on freebsd-newbies@freebsd.org, but > didn't get a response, so maybe someone here can help: > > I am trying to figure out why I am not getting the lasted packages. I > am trying to get ImageMagick 6.2.0.5, which according to freshports is > the latest, but when I do "pkg_add -r ImageMagick", I get 6.0.6.2. > I searched the ports section on freebsd site and found out the following: ImageMagick 6.2.0.5 is for freebsd 5 & 4 Stable. ImageMagick 6.0.6.2 is for FreeBSD 5.x Release. an older version is for FreeBSD-4.x Release So which version of FreeBSD are you running? #uname -a The packaging system automaticaly fetches the version suited for your version of FreeBSD. > I have run cvsups, which I believe gets me the latest ports, is there > an equivalent for packages? I was under the impression that they > always got the latest? > Yes but only what is suitable for your current FreeBSD system is always installed when you install a port or add package. > As far as ports, do I just need to run cvsups to keep it up-to-date? > > All this is a little confusing: ports, packages, cvsups, portupgrade, > etc... :-) > Ports need to be built and installed first. Packages are precompiled versions (Binaries) of the Ports. cvsup updates your source/ports/docs. you still need to install the updated versions by your self or you can use portupgrade/portmanager which one you prefer to do this for you. I hope this information helps to understand how things work under FreeBSD. > Can someone point me to some clear docs on all this? I have spent > hours looks at the freebsd docs, but it's just not clicking for me. > > I just want to make sure I am running the most recent version of mysql, > php4, apache, etc, but am really unclear how to get and upgrade ports > and packages. I usually run cvsup daily to update my sources and ports. I don't like to use pre-compiled packages since I use a custom built kernel and the default options used to compile the packages are not allways suitable for my work (I use FreeBSD as a Router , DNS Server "BIND" , Caching Proxy "SQUID"). Thats why I use the ports to configure the build options to my needs. Example: cvsup # to update my sources and ports. portupgrade -an # first i use "-an" just to check out changes. cd /usr/ports/www/squid # ohh a new version of squid is there!!! make config # to checkout configuration options for Squid. vi Makefile # usally I check the makefile for other options. Finally instead of building/compiling/installing etc... portupgrade -v squid # i use -v because i love to see things as they happen. Or you can use to update all ports for which a new version exists. People how don't need to compile/install ports just use pkg_add. It all depends on what you have and what you need. > > Ron > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Check the ports page on FreeBSD site http://www.freebsd.org/ports/index.html Search for ImageMagick. then select the right Release/Stable 4.x or 5.x to see which version of the port exists for differrent versions of FreeBSD. -- Kind Regards Abu Khaled.