User:Aapo/Waemo/Wheezy

(get package list of wheezy)
(filter with uniq. there are some 'provides' which cause multiple instance of names)
 
Line 6: Line 6:
  mv allpackages\?format=txt.gz debian_package_list.txt.gz
  mv allpackages\?format=txt.gz debian_package_list.txt.gz
  gunzip debian_package_list.txt.gz
  gunzip debian_package_list.txt.gz
-
  tail -n +7 debian_package_list.txt | awk '{print $1}' > debian_package_names.txt
+
  tail -n +7 debian_package_list.txt | awk '{print $1}' | uniq > debian_package_names.txt
-
(Package count is 48610, not listing them on here.)
+
(Package count is 47572, not listing them on here.)

Latest revision as of 06:44, 28 October 2013

Debian 7.0 Wheezy.

Get list of packages on Wheezy:

wget http://packages.debian.org/wheezy/allpackages?format=txt.gz
mv allpackages\?format=txt.gz debian_package_list.txt.gz
gunzip debian_package_list.txt.gz
tail -n +7 debian_package_list.txt | awk '{print $1}' | uniq > debian_package_names.txt

(Package count is 47572, not listing them on here.)