LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-21-2014, 04:06 PM   #1
akwes
LQ Newbie
 
Registered: Sep 2014
Posts: 1

Rep: Reputation: Disabled
How is calculated the size of Linux on hard drive?


Hello,

If I use command:
Code:
$ df -h /
I will get 2.2GB as answer on clean, just installed Linux. But, what that really means? Is this just a sum of all installed packets?

Code:
$ dpkg-query -W --showformat='${Installed-Size}\n' > sizes
$ awk '{s+=$1} END {print s}' sizes
Result is: 1554MB. Where are missing 700MB? How to find it?
 
Old 09-21-2014, 04:29 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
How much in /var (du -ch /var)? In /tmp etc
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Drive Size Discrepancy? Deathwind Linux - General 6 05-12-2004 07:50 AM
largest hard drive size teuben Linux - Hardware 2 01-27-2004 08:11 AM
Hard drive size? tgardner Linux - Newbie 4 08-28-2003 09:46 PM
Hard Drive Size Michael Jones Linux - Newbie 4 01-11-2002 06:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration