finding size of port

Russell Jones russell.jones at physics.ox.ac.uk
Wed Feb 23 09:11:09 PST 2011


If you have access to a system with it installed, you could use the following to get the size in kilobytes

port contents texlive-latex-extra | xargs file | grep -vE ": directory$" | cut -d: -f1 | xargs du -k | cut -f1 | paste -s -d "+" - | bc

Russell

________________________________
From: macports-users-bounces at lists.macosforge.org [macports-users-bounces at lists.macosforge.org] on behalf of Srinath Vadlamani [srinath at txcorp.com]
Sent: 23 February 2011 16:38
To: macports-users at lists.macosforge.org
Subject: finding size of port

How does one find the size of a port/package?

Say I instaleld tex-live medium and want to install texlive-latex-extra but I am worried that my SD only has 2 GB left.
How can check the size of texlive-latex-extra to see if it is worth it?

Thanks
===================
Srinath Vadlamani, PhD
srinath at txcorp.com<mailto:srinath at txcorp.com>
(w)303-996-2034
(f)303-448-7756
www.txcorp.com<http://www.txcorp.com>
Tech-X Corp.
5621 Arapahoe Ave. Suite A
Boulder, CO 80027
====================




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20110223/f7356d55/attachment.html>


More information about the macports-users mailing list