LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-30-2005, 10:49 PM   #1
mma8x
Member
 
Registered: Jul 2004
Posts: 164

Rep: Reputation: 30
better way to organize packages?


i'm trying to find a way to sort installed packages by size, date installed, etc; can't find a way to do this with kpackage, synaptic, or aptitude. any other ways to do this?
 
Old 10-31-2005, 07:28 AM   #2
makuyl
Senior Member
 
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
By size: dpkg-query -W --showformat='${Installed-Size} ${Package}\n' | sort -n
Not sure about date and I'm not on a debian box now, you do the googling
 
Old 11-21-2005, 08:21 PM   #3
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Cool, worked on my SimplyMEPIS box. Time to RTFM for dpkg-query.

BTW,
Code:
dpkg-query -W --showformat='${Installed-Size} ${Package}\n' \
 | sort -n                                                  \
 | awk  '{printf "%8d  %s\n",$1,$2}'                        \
 | less
gave a really nice output
 
  


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
Organize my music like iTunes? purelithium Linux - Software 1 11-21-2005 12:51 PM
Compaq Organize webwolf70 Linux - Software 6 05-22-2005 04:20 PM
Organize Backup ddaas Linux - General 1 01-03-2005 06:58 AM
how to organize linux? dr_zayus69 Linux - Newbie 15 09-28-2004 10:06 PM
Organize my mp3-files Soubi Linux - Software 11 03-16-2003 10:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:38 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