Journal

Quick package search in Debian/Ubuntu/etc.

Here is a simple command for searching for “ruby” in the Tag: fields in Debian’s package lists: # egrep -hr ‘^(Package:|Tag:.+ruby)’ /var/lib/apt/lists|grep -B1 ^Tag|grep ^Package|cut -d\ -f2-|tr \\n \||xargs -I{} echo apt-cache –names-only search ^\({}\)\$|sort|less Cool , huh 🙂Read the whole thing @ http://dontdothat.livejournal.com