Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How many packages do you have installed?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  

How many?
< 200
4%
 4%  [ 9 ]
< 300
13%
 13%  [ 26 ]
< 400
19%
 19%  [ 37 ]
< 500
25%
 25%  [ 48 ]
< 600
15%
 15%  [ 29 ]
< 700
6%
 6%  [ 13 ]
< 800
5%
 5%  [ 10 ]
< 900
1%
 1%  [ 3 ]
900+
6%
 6%  [ 13 ]
Total Votes : 188

Author Message
dice
Guru
Guru


Joined: 21 Apr 2002
Posts: 577

PostPosted: Mon Dec 08, 2003 7:13 am    Post subject: How many packages do you have installed? Reply with quote

Just curious and messing around ;)

Code:
find /var/db/pkg -mindepth 2 -maxdepth 2 -type d -print | wc -l


I have 674... bloat :oops:
Back to top
View user's profile Send private message
[herb]
Apprentice
Apprentice


Joined: 14 Oct 2003
Posts: 173
Location: Ontario, Canada

PostPosted: Mon Dec 08, 2003 7:14 am    Post subject: Reply with quote

I currently have 351.
_________________
PC: Antec 350W PSU, AMD Athlon64 3000+, ASUS K8V Deluxe Mobo, 512MB PC3200@400MHz, ATI Radeon 9800 Pro 128MB, 80GB Maxtor HDD @ 7200RPM
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Mon Dec 08, 2003 7:59 am    Post subject: Reply with quote

520 hmmmmmmmmm....

i guess most stuff its just garbage that portage left behind.

guess i need to do some deep cleaning.
_________________
linux: #232767
Back to top
View user's profile Send private message
dice
Guru
Guru


Joined: 21 Apr 2002
Posts: 577

PostPosted: Mon Dec 08, 2003 8:55 am    Post subject: Reply with quote

ikaro wrote:
520 hmmmmmmmmm....

i guess most stuff its just garbage that portage left behind.

guess i need to do some deep cleaning.


I always make sure to run:

Code:
emerge -p --prune world


from time to time to see what all is sitting around on my system. This will give me a list of all the packages that have multiple versions installed so I can at least clean up those (kernel source packages being the most flagrant offenders).

I'm wondering if there's a utility that will tell you what "orphaned" packages you have (i.e. any packages that are not required by any other packages), that would be a useful list.
Back to top
View user's profile Send private message
[herb]
Apprentice
Apprentice


Joined: 14 Oct 2003
Posts: 173
Location: Ontario, Canada

PostPosted: Mon Dec 08, 2003 9:03 am    Post subject: Reply with quote

Isnt that what the depclean utility is for?
_________________
PC: Antec 350W PSU, AMD Athlon64 3000+, ASUS K8V Deluxe Mobo, 512MB PC3200@400MHz, ATI Radeon 9800 Pro 128MB, 80GB Maxtor HDD @ 7200RPM
Back to top
View user's profile Send private message
Red 1917
n00b
n00b


Joined: 21 May 2003
Posts: 14

PostPosted: Mon Dec 08, 2003 9:05 am    Post subject: Reply with quote

Can't you also do

Code:

qpkg -I | wc -l


qpkg -I will list all installed packages, and wc -l will count them.

Code:

root@sardaukar red1917 # qpkg -I | wc -l
    231
Back to top
View user's profile Send private message
thodi
Tux's lil' helper
Tux's lil' helper


Joined: 20 Oct 2003
Posts: 92
Location: Emden, Germany (Old Europe)

PostPosted: Mon Dec 08, 2003 9:09 am    Post subject: Reply with quote

<nitpick>
Everybody who has less than 300 packages installed also has less than 400, 500, 600, 700, ... packages installed ;-)
</nitpick>
_________________
Hier fliegen gleich die Löcher aus dem Käse
Jabber: thodi@jabber.org
Back to top
View user's profile Send private message
aridhol
Guru
Guru


Joined: 20 Jan 2003
Posts: 509
Location: Stockholm, Sweden

PostPosted: Mon Dec 08, 2003 9:19 am    Post subject: Reply with quote

399 packages.

Ran a pretend depclean... 7 packages... and I'm not too sure about those :P
_________________
72 of Pitcairn Islands 49 inhabitants use Seti@Home
"If you buy a DVD you have a copy. If you want a backup copy you buy another one."
"Anyone who is capable of getting themselves made President should on no account be allowed to do the job."
Back to top
View user's profile Send private message
dice
Guru
Guru


Joined: 21 Apr 2002
Posts: 577

PostPosted: Mon Dec 08, 2003 9:40 am    Post subject: Reply with quote

[herb] wrote:
Isnt that what the depclean utility is for?


Didn't know about that, thanks. Currently borked on my system though, looks like it needs your installed packages to actually be in sync with the portage tree you have :-\



Red 1917 wrote:
Can't you also do

Code:

qpkg -I | wc -l


qpkg -I will list all installed packages, and wc -l will count them.

Code:

root@sardaukar red1917 # qpkg -I | wc -l
    231


Not everybody has gentoolkit installed, better safe than sorry ;) Besides qpkg -I will only count packages that have multiple versions installed once :)
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Mon Dec 08, 2003 10:34 am    Post subject: Reply with quote

got it down to 491 ..
i really dont know whats filling up so much .. i really dont have much stuff installed .. my best guess is Libs, a big buch of everything libs.
i guess i have every single MOFO lib thats around ( excluding KDE and gnome )
specially those perl little things .. :evil: once you start emerging something with perl in it , it never ends.

Oh well .. fck it.

Thx for the feedback :lol:
_________________
linux: #232767
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Mon Dec 08, 2003 10:48 am    Post subject: Reply with quote

I win!
Code:

nephros@scourge ~ $ find /var/db/pkg -mindepth 2 -maxdepth 2 -type d -print | wc -l
893
nephros@scourge ~ $ qpkg -I | wc -l
871

_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4975
Location: Gothenburg, Sweden

PostPosted: Mon Dec 08, 2003 10:50 am    Post subject: Reply with quote

I feel humbled, I only have 445.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
sgaap
l33t
l33t


Joined: 16 Aug 2002
Posts: 754
Location: Enschede, The Netherlands

PostPosted: Mon Dec 08, 2003 1:14 pm    Post subject: Reply with quote

Quote:

find /var/db/pkg -mindepth 2 -maxdepth 2 -type d -print | wc -l
1106

Quote:

qpkg -I | wc -l
1034

:P
_________________
In "old" Europe we already have a word for "pre-emptive strikes" mr Bush: its called "war"
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Mon Dec 08, 2003 2:20 pm    Post subject: Reply with quote

dice wrote:
Besides qpkg -I will only count packages that have multiple versions installed once :)


You'll need to use

Code:
qpgk -I -v | wc -l


This will show all installed packages, including packages installed with multiple versions. So should give the same results as the find command.

Code:
qpgk -I | wc -l
585


Code:
find /var/db/pkg -mindepth 2 -maxdepth 2 -type d -print | wc -l
607


Code:
qpgk -I -v | wc -l
607

_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
ank
Apprentice
Apprentice


Joined: 06 Aug 2003
Posts: 185
Location: Maribor, Slovenia

PostPosted: Mon Dec 08, 2003 2:41 pm    Post subject: Reply with quote

405

Hmm, that much already :?
Back to top
View user's profile Send private message
Integral
n00b
n00b


Joined: 06 Dec 2003
Posts: 15
Location: Montana

PostPosted: Mon Dec 08, 2003 7:37 pm    Post subject: Reply with quote

414.

Apparently, that's a ... low number, in comparison to others. :wink:
Back to top
View user's profile Send private message
z3b3dy
n00b
n00b


Joined: 02 Dec 2003
Posts: 4

PostPosted: Mon Dec 08, 2003 7:38 pm    Post subject: Reply with quote

153

keeping it neat and tidy!!
Back to top
View user's profile Send private message
DoktorSeven
Apprentice
Apprentice


Joined: 21 Feb 2003
Posts: 194
Location: Here, somewhere

PostPosted: Mon Dec 08, 2003 7:44 pm    Post subject: Reply with quote

Code:
$ find /var/db/pkg -mindepth 2 -maxdepth 2 -type d -print | wc -l
    519

I'm disappointed, I thought I had a lot more than that ;)
_________________
WARNING: this post may be filled with lies and/or extreme sarcasm.
I write stuff on the internet, just like everyone else. I'M SPECIAL
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Mon Dec 08, 2003 8:29 pm    Post subject: Reply with quote

431

dice wrote:
I'm wondering if there's a utility that will tell you what
"orphaned" packages you have (i.e. any packages that
are not required by any other packages), that would
be a useful list.


perhaps you can use this
Back to top
View user's profile Send private message
Roguelazer
Veteran
Veteran


Joined: 10 Feb 2003
Posts: 1233
Location: San Francisco, CA

PostPosted: Mon Dec 08, 2003 9:39 pm    Post subject: Reply with quote

Code:

$ find /var/db/pkg -mindepth 2 -maxdepth 2 -type d -print | wc -l
1240


Beat THAT suckas. I have most of the portage tree installed! Mwuhahahahahahah.
_________________
Registered Linux User #263260
Back to top
View user's profile Send private message
ikaro
Advocate
Advocate


Joined: 14 Jul 2003
Posts: 2527
Location: Denmark

PostPosted: Mon Dec 08, 2003 9:51 pm    Post subject: Reply with quote

z3b3dy wrote:
153

keeping it neat and tidy!!



haha thats funny , i also see that you have "2" posts on the forums, so welcome aboard.

Let me ask you this same question in ermm 1½ month ?

;)
_________________
linux: #232767
Back to top
View user's profile Send private message
Mystilleef
Guru
Guru


Joined: 27 Apr 2003
Posts: 561
Location: Earth

PostPosted: Mon Dec 08, 2003 10:00 pm    Post subject: Reply with quote

Code:

root # qpkg -I -v | wc -l


443

So how much is 443 software packages worth on Windows or Mac? No warez and pirated products included. Because nothing on my Linux box is paid for. And it's all legit.
_________________
simple, sleek and sexy text editor for gnome

"My logic is undeniable."
Back to top
View user's profile Send private message
slarti`
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 376
Location: UK

PostPosted: Mon Dec 08, 2003 10:02 pm    Post subject: Reply with quote

421.. but fairly fresh system, I've got a lot of bloat left in me yet :)
_________________
Gentoo/AMD64, shell-tools, net-mail, vim, recruiters
IRC: slarti @ irc.freenode.net
Devspace
Back to top
View user's profile Send private message
Mr. Atoz
Tux's lil' helper
Tux's lil' helper


Joined: 06 May 2002
Posts: 84
Location: Colorado

PostPosted: Mon Dec 08, 2003 10:02 pm    Post subject: Reply with quote

318

Lean mean desktop machine...
_________________
---Atoz
Back to top
View user's profile Send private message
greensky
n00b
n00b


Joined: 14 Aug 2003
Posts: 30

PostPosted: Mon Dec 08, 2003 10:20 pm    Post subject: hmm.... Reply with quote

Using the 'find' method I have 505

Using qpkg t says 479

8O
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum