finding size of port

Russell Jones russell.jones at
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


From: macports-users-bounces at [macports-users-bounces at] on behalf of Srinath Vadlamani [srinath at]
Sent: 23 February 2011 16:38
To: macports-users at
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?

Srinath Vadlamani, PhD
srinath at<mailto:srinath at>
Tech-X Corp.
5621 Arapahoe Ave. Suite A
Boulder, CO 80027

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the macports-users mailing list