Date: Fri, 26 Feb 1999 12:56:13 -0500 (EST) From: Antonio Bemfica <antonio@axolotl.ic.gc.ca> To: Greg Cook <freebsd@vnews.net> Cc: "'FreeBSD-Questions'" <freebsd-questions@FreeBSD.ORG> Subject: Re: 9 quick questions :) Somewhat Long Message-ID: <Pine.BSF.4.05.9902261229060.15330-100000@axolotl.ic.gc.ca> In-Reply-To: <01BE6178.080270A0@hostit.vnews.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Feb 1999, Greg Cook wrote: > 1. Is there any way to query which packages are loaded, i.e. equiv. to > rpm -qa under Redhat RPM Manager. > 2. Any easy way to remove a package. Try running "man -k pkg" - this will give you info on all the package related programs. > 3. Upgrading a package and reasonable OS package update intervals. This is how I do it: 1. install cvsup (from the ports - if you don't know where in the ports directory, cd to /usr/ports and run "make search key=cvsup"). If you don't know much about ports, they are MUCH better than packages. In the ports collection you have "links" to all the necessary information to build and install any of the packages: typing "make" will retrieve the necessary source code from whichever ftp server has it, patch it for FreeBSD, compile it and get it ready for installation; typing "make install" will place it in the proper place and a "make clean" will remove all the leftover files from the compilation. The entire ports collection takes up only 58 Mbytes - with it you can build any of the 2096 ports. 2. run cvsup in a cron job every night to retrieve changes to the ports collection and to the source code for FreeBSD (if you wish - I track the -STABLE branch). Scan the e-mail message you get sent from the output of the cron job every morning to see if there any changes to your favourite port. If so, cd to the appropriate directory and do a "make", "make install" and "make clean" - or if you prefer, do a "pkg_remove favourite_port" before installing the new version. Once a month or so (if you decide to track the -STABLE branch), cd to /usr/src and "make world", then recompile your kernel). Hope this helps Antonio To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9902261229060.15330-100000>