From owner-freebsd-questions@FreeBSD.ORG Sun Jan 21 05:52:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E0EB16A400 for ; Sun, 21 Jan 2007 05:52:57 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 302A413C45D for ; Sun, 21 Jan 2007 05:52:57 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from c-68-59-28-54.hsd1.sc.comcast.net (jn@c-68-59-28-54.hsd1.sc.comcast.net [68.59.28.54]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l0L5qtcG061701; Sat, 20 Jan 2007 21:52:56 -0800 (PST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Sun, 21 Jan 2007 00:52:54 -0500 User-Agent: KMail/1.9.5 References: In-Reply-To: X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200701210052.55225.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Joshua Lewis Subject: Re: Remove extra packages and streamline 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jan 2007 05:52:57 -0000 On Saturday 20 January 2007 21:15, Joshua Lewis wrote: > Hello list, > > After many days of hard work, a lot of caffeine and not nearly enough > sleep I have a working asterisk PBX for my home. > > I have it working on a PIII 800 with 512MB of RAM and two 5GB drives > in a Raid1 config. While this system should suffice I would like to > streamline the system a little. > > I installed a lot of unnecessary applications during sysisntall. Is > there a way to figure out what software I don't need. I did a > pkg_info | wc -l and found that I have 63 apps installed. I know I > don't need a bunch of these but I am afraid to delete random > packages. After having a non working phone for two weeks my wife > would kill me if I messed it all up again. > > Any ways I know I don't need xorg any more. I installed it so I could > use gastman to try and get my Asterisk config working faster. I > never wound up using gastman so now I need to remove it and xorg. But > there are a bunch of fonts and docs and things. > > Is it possible to remove any packages I have not used for X amount of > days? > > Is there some way to figure out what apps I don't need installed > anymore? I'm a big fan of sysutils/pkg_cutleaves. It recurses through the dependency tree of your installed ports and shows you the "leaf" nodes (packages that nothing else depends on). You tell it which ones to get rid of and it uninstalls them and repeats the process until no new leaf nodes are found. I run it every couple months even on systems that don't necessarily need to be streamlined just to keep from updating software I'm not using any more. JN