[LBo] Creating package lists (without libs):

Sam Morgan s.morgan at linuxbasics.org
Wed Sep 5 15:40:05 CEST 2007


while reading in the wiki of my
'flavor of the week distro' (Sidux) site.
I ran across their page on securing your home.
http://sidux.com/index.php?module=pnWikka&tag=SecureHomeEN

It included a nice line I thought I'd pass along.
I had used a similar line to save a list of installed packages,
(for my next 'flavor of the week distro' install)
but I had not thought to remove the libs from the resulting list.


<quote>

2. Creating package lists (without libs):

dpkg -l|awk '/^ii/{print $2}'|awk '!/^lib/ {print}'>apps_installed.txt

</quote>

hope you find it a useful addition to your bag of penguin tricks. ;-)


P.S
Sidux is a Live CD distro, try it you might be surprised.
A good read through of their Manual and Wiki are very informative.
-- 
God Bless,
Sam Morgan
http://linuxbasics.org
linux the lifetime learning experience


More information about the QnA mailing list