From owner-freebsd-questions@FreeBSD.ORG Mon Sep 24 12:58:00 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E97D16A419 for ; Mon, 24 Sep 2007 12:58:00 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mail.itu.dk (pluto.itu.dk [130.226.142.18]) by mx1.freebsd.org (Postfix) with ESMTP id AEEFC13C469 for ; Mon, 24 Sep 2007 12:57:59 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from localhost (unknown [10.0.0.3]) by mail.itu.dk (Postfix) with ESMTP id 0B70632D50A for ; Mon, 24 Sep 2007 14:54:21 +0200 (CEST) X-Virus-Scanned: amavisd-new at itu.dk Received: from superman.itu.dk ([130.226.142.5]) by localhost (daredevil.itu.dk [130.226.142.26]) (amavisd-new, port 10024) with ESMTP id Sp+Ks6bnJcE0 for ; Mon, 24 Sep 2007 14:53:49 +0200 (CEST) Received: from [192.168.1.5] (stud1-15.itu.dk [130.226.140.15]) by superman.itu.dk (Postfix) with ESMTP id 90FAA9E666 for ; Mon, 24 Sep 2007 14:53:30 +0200 (CEST) Message-ID: <46F7B34A.2050106@cederstrand.dk> Date: Mon, 24 Sep 2007 14:53:30 +0200 From: Erik Cederstrand User-Agent: Thunderbird 2.0.0.5 (X11/20070723) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <38b9f0350709240517x5d6f976fn9fb2f76105dc51e6@mail.gmail.com> In-Reply-To: <38b9f0350709240517x5d6f976fn9fb2f76105dc51e6@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: The best way to keep the system clean? 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: Mon, 24 Sep 2007 12:58:00 -0000 ronggui wrote: > My problem, many times I install some software from ports, it install > the dependency software. Then after some time, I find that software > isn't what I want, and deinstall it. At this point, the dependency > software isn't necessary as well. Is there a way to clean them > automatically, like the apt-get autoremove in the Ubuntu system. > > And the related general question is, what's the best way to keep my > system clean? Thanks. You're probably looking for ports-mgmt/pkg_cutleaves. Erik