You are not logged in.

#1 2004-04-28 23:28:36

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

TotalSize of all installedpackages

What command will display the full size of all packages installed in my system?

What command will display the size of a selected package?


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Online

#2 2004-04-28 23:49:41

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

Re: TotalSize of all installedpackages

lilsirecho wrote:

What command will display the full size of all packages installed in my system?

this is more or less all the space used in /

du -sh

or

di
lilsirecho wrote:

What command will display the size of a selected package?

pacman -Qi pkg | grep Size

The impossible missions are the only ones which succeed.

Offline

#3 2004-04-29 00:30:10

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: TotalSize of all installedpackages

Thanks dp; my du -sh is 17GB
My, my my!!!


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Online

#4 2004-04-29 04:05:20

mladen
Member
From: Home
Registered: 2004-03-03
Posts: 46

Re: TotalSize of all installedpackages

OMG!
How many copies of OOo, KDE, Gnome... do you have installed?  wink  he,he...


No past, no future. It's all one long, never ending present.

Offline

#5 2004-04-29 04:24:13

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: TotalSize of all installedpackages

Its WAR AND PEACE!  The FALLUJAH FILES!


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Online

#6 2004-04-29 21:52:43

mladen
Member
From: Home
Registered: 2004-03-03
Posts: 46

Re: TotalSize of all installedpackages

War and Peace !
Havent heard that one... ages ago... Good one, though  big_smile

Cheers,
mladen


No past, no future. It's all one long, never ending present.

Offline

#7 2004-04-29 21:57:46

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

Re: TotalSize of all installedpackages

is this a book you scanned in or a game or something else?

my du -sh is around 7GB ... and i have quite a lot of stuff installed


The impossible missions are the only ones which succeed.

Offline

#8 2004-04-29 22:21:20

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: TotalSize of all installedpackages

dp;

   The book exists and very lonnnnngggg! But not in my files..movies


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Online

#9 2004-04-29 22:30:25

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

Re: TotalSize of all installedpackages

lilsirecho wrote:

dp;

   The book exists and very lonnnnngggg! But not in my files..movies

no problem about looonnngggg books, as i read about 50-100 pages/day in regular :-)

is this the roman from tolstoj you mean i mean you speak about? - i read a translation in german (as i dont know russian) and it is written in a really high level --- but i never heard of a movie about it ... but i will have a look at the library for movies to check it (most movies are worse than the original book (lord of the ?ings), but i never give up hope)


what i meant is: if you would scan each page as image to the computer, you would come also to a lot of MB's of images


The impossible missions are the only ones which succeed.

Offline

#10 2004-04-30 01:00:31

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: TotalSize of all installedpackages

BTW: new pacman has nice new options:

SYNC OPTIONS
       -c, --clean
              Remove old packages from the cache.  When pacman downloads pack-
              ages, it saves them in /var/cache/pacman/pkg.  If  you  need  to
              free  up  diskspace,  you can remove these packages by using the
              --clean option.  Using one --clean  (or  -c)  switch  will  only
              remove  old  packages.  Use it twice to remove all packages from
              the cache.

This helps with cleaning package cache and freeing some space. So now pacman -Sc deletes only old packages and pacman -Scc deletes all of them from the cache.

Offline

#11 2004-04-30 01:19:35

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: TotalSize of all installedpackages

dp;
  I have some 16MB of dvix movies in there... no WAR and PEACE movie!  Just joking about that!

lanrat;

   Thanks for the good info for pkgs..I might make good use of that file to make a LIVECD which I am hot to do......


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Online

#12 2004-04-30 21:49:07

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

Re: TotalSize of all installedpackages

if you are cleaning ... have also a look at /var/log/...

with time kernel, errors and messages get really big


The impossible missions are the only ones which succeed.

Offline

#13 2004-04-30 21:59:54

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: TotalSize of all installedpackages

Purpose was to determine how much I would lose if I actually made a LIVECD.

I like your bird!!!!!


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Online

#14 2004-04-30 23:41:18

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

Re: TotalSize of all installedpackages

lilsirecho wrote:

Purpose was to determine how much I would lose if I actually made a LIVECD.

it's always an optimization ... i use amlug or knoppix, where i should work and no linux is installed / may not be installed ... this is great, if you do not want to use the harddrive on a computer and the OS it has

other thing is to bugfix a broken installation

... but in my eyes, lifeOS is not great for daily work, if there is other option to install the OS to hdd

lilsirecho wrote:

I like your bird!!!!!

thanx ... more birds and flowers here:
http://daperi.home.solnet.ch/ -> Art


The impossible missions are the only ones which succeed.

Offline

#15 2004-05-01 00:32:43

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: TotalSize of all installedpackages

My intent is to utilize ramfs and 4G highmem to increase the capability of LIVE CD to utilize up to 4G of free ram.  This is possible with 2.6.5 with those elements enabled and with 4G of ram.  Less than 4G is ok too.

With usb 2.0 enabled as well, hotplug of HDD is also useable and so is printer when needed.

Voila! No hdd running all day!!!!


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Online

#16 2004-05-01 00:41:31

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

Re: TotalSize of all installedpackages

lilsirecho wrote:

My intent is to utilize ramfs and 4G highmem to increase the capability of LIVE CD to utilize up to 4G of free ram.  This is possible with 2.6.5 with those elements enabled and with 4G of ram.  Less than 4G is ok too.

With usb 2.0 enabled as well, hotplug of HDD is also useable and so is printer when needed.

Voila! No hdd running all day!!!!

great plans!

i heard that highmem has (had?) some conflicts with (c)loop devices --- i'm not expert in this, only heard this somewhere on news (slashdot? kerneltrap? dont know)

the thing with lifeCD is that the CD is always slower than a hdd or other device --- but if your lifeOS runs from a usb-chip, then problem solved

good luck in making the terminal of the future!!


The impossible missions are the only ones which succeed.

Offline

#17 2004-05-01 05:49:43

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: TotalSize of all installedpackages

Much obliged for the comments.

  Don't know how to get LiveCd to play from USB ....Mobo can't see it to boot.

   Haven't heard about the highmen problem.  While operating in ram, the speed of the execution has to be high.  Granted, CD speed is limited by the IR optical  reader system.

The journey starts with the first step, getting the kernel installed and modified in the livecd along with the desired progs.  Determine at that time how well the highmem performs with a second CD for data entry into ram, and so on and so forth.

Blue laser might provide faster CD rom but dunno if it would be legacy compatible.

Some livecds aren't too shabby and certainly with highmem would become versatile.  Only use the HDD via USB when needed as well as the printer.  Lower power needs.  Some good comes from it.

I expect soon to have a try at it on another OS.

  My present kernel is modified for highmem and in ramfs I have 1536 MB useable which is more than enough for .vob segments.  This means I don't need compression packages.

   A pipe dream for LIVECD so far but still have hopes to do something with it.
-------------------------------------------------------------------------------------------------------
When is a zero equal to a one?


Sign of the times: Navajo blanket..made in China
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Online

#18 2004-05-01 12:34:52

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,363
Website

Re: TotalSize of all installedpackages

good luck with this


The impossible missions are the only ones which succeed.

Offline

Board footer

Powered by FluxBB