Awesome, that's probably what I will go with, thanks Paul!
(rather than doing something with R, I will probably just diff the two files and see about scripting something with the result.)
Kendric Beachey
On Wed, Aug 4, 2010 at 5:07 PM, Paul Johnson pauljohn@ku.edu wrote:
On 08/04/2010 03:17 PM, Kendric Beachey wrote:
The thing I would like to do is get a list of the various pieces of software I've installed over and above the stock selection that ships with Edubuntu, so I can reduce the time spent redoing all that installation work. Does anyone know of a good way to get the system to tell you a list of all the .debs you have installed beyond what it shipped with?
I think you have the right strategy. I've done this on rpm based systems, now I'm running Ubuntu, I know I've seen a standard routine for this in the ubuntu mailing list. I will check and see.
Here's what I would do in the short term, just because I can.
Do I understand it right that you want to know what packages you have now (or do you mean the packages you used to have?)
If the answer is "now", I'd do this:
dpkg -l
that spits out everything you have, like
ii xserver-xorg-vid 1:1.7.3-1 X.Org X server -- SiliconMotion display driver
Divert that output to a file
dpkg -l >> mydebs.txt
After you install fresh, do the same
dpkg -l >> mynewdebs.txt
I'd then use some program to get the items that are in mydebs.txt that are not in mynewdebs.txt.
I'd probably do that with R, but I bet you'd get it done easily with a spreadsheet.
pj
Thanks!
Kendric Beachey
-- Paul E. Johnson email: pauljohn@ku.edu Professor, Political Science http://pj.freefaculty.org Assoc. Director, Center for Research Methods and Data Analysis 1541 Lilac Lane, Rm 504 University of Kansas Office: (785) 864-9086 Lawrence, Kansas 66045-3129 FAX: (785) 864-5700
-- You received this message because you are subscribed to the Google Groups "kulua-l" group. To post to this group, send email to kulua-l@googlegroups.com. To unsubscribe from this group, send email to kulua-l+unsubscribe@googlegroups.comkulua-l%2Bunsubscribe@googlegroups.com . For more options, visit this group at http://groups.google.com/group/kulua-l?hl=en.
Hi,
On Wed, Aug 04, 2010 at 05:12:43PM -0500, Kendric Beachey wrote:
Divert that output to a file
dpkg -l >> mydebs.txt
After you install fresh, do the same
dpkg -l >> mynewdebs.txt
I'd then use some program to get the items that are in mydebs.txt that are not in mynewdebs.txt.
Use sort and diff:
sort mydebs.txt > mydebs_ordered.txt sort mynewdebs.txt > mynewdebs_ordered.txt diff mydebs_ordered.txt mynewdebs_ordered.txt > non-stock_debs.txt
Hi,
On Thu, Aug 05, 2010 at 03:10:11AM -0500, jim@jimani.com wrote:
Divert that output to a file
dpkg -l >> mydebs.txt
After you install fresh, do the same
dpkg -l >> mynewdebs.txt
I'd then use some program to get the items that are in mydebs.txt that are not in mynewdebs.txt.
Use sort and diff:
sort mydebs.txt > mydebs_ordered.txt sort mynewdebs.txt > mynewdebs_ordered.txt diff mydebs_ordered.txt mynewdebs_ordered.txt > non-stock_debs.txt
You can get the same results with less typing with:
cat mydebs.txt mynewdebs.txt | sort | uniq -u > non-stock_debs.txt