Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2001 00:00:39 +0100 (CET)
From:      Walter Hop <walter@binity.com>
To:        Anthony Atkielski <anthony@freebie.atkielski.com>
Cc:        "Gary W. Swearingen" <swear@blarg.net>, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How do I find major consumers of disk space on the system?
Message-ID:  <Pine.BSF.4.43.0112022355440.46594-100000@surreal.nl>
In-Reply-To: <012f01c17b83$d94c19e0$0a00000a@atkielski.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[in reply to Anthony Atkielski <anthony@freebie.atkielski.com>, 02/12/01]

> Pretty cool!  I tried it out and it works well.  Looks like most of
> the space in /usr is taken up by ports, particularly a port called
> teTeX, which occupies 33 MB alone.  What is it?

Files in /usr/ports/distfiles were (temporary) files downloaded during
previous ports installations; if I am correct you can safely delete
them.

If you want your /usr/ports dir totally neatly cleaned, you can go into
/usr/ports and issue a ``make clean'', which will clean up all the mess
that installations left around in /usr/ports. (This will not affect the
installed programs, only the temp- and working dirs in /usr/ports)

> Is there a clean way to delete ports that I don't intend to install,
> and then download them if I ever do decide to put them in?

Ports only don't cost much space. It's just the distfiles and the
workfiles, a ``make clean'' will solve those problems.

If you really want to delete an installed port from your system,
``pkg_delete name'' will do the trick. To see a list of port/package
names that are present, you can do a ``pkg_info''. (I believe this will
not clean up distfiles!)

-- 
 Walter Hop <walter@binity.com>
 Updated contact information: http://www.binity.com/~walter/


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.43.0112022355440.46594-100000>