PDA

View Full Version : how to listdown the programs that comes with the KNOPPIX cd?



erictck
05-10-2003, 05:37 AM
Hi,

I'm trying to re-master the CD. But I do not know how to list down the programs that I can remove from the KNOPPIX cd

In the re-masterring:how to documentation, it mentioned that we can use apt-get remove "program". But how do i know what is the "program" name ?

thankQ for your help.

Eric

Stephen
05-10-2003, 07:40 AM
If you want to remove say xchat then apt-get remove xchat with xchat being the "program". If you are trying to get a list of programs installed then dpkg --get-selections > selections.txt will ouput the package database to the text file selections.txt which you can view with any editor.

erictck
05-10-2003, 05:09 PM
thankQ!!! ppl like you makes linux easier to understand :)

escherian
05-17-2003, 11:36 PM
If you create a txt of packages called kicklist.txt and then
#dpkg -P `cat kicklist.txt`
It removes all files listed (notice the back quote above )

If you are looking for big installed packages
# dpkg-awk "Status: .* installed$" -- Package Installed-Size| awk '{print $2}' | egrep -v '^$' | xargs -n2 echo | perl -pe 's/(\S+)\s(\S+)/$2 $1/' | sort -rg > packagelist.txt
will list the packages in packagelist.txt with size in descending order.

( taken from http://gnubox.dyndns.org:8080/~sunil/knoppix.php )