$ rpm -q apt apt-0.5.15lorg2-alt75.x86_64 $ apt-cache search postgres | wc -l 372 $ apt-cache search postgres --names-only | wc -l 219 $ apt-cache search postgres | awk '{print $1}' | grep -i postgres | wc -l 177 $ aptitude search '!~v~npostgres' | wc -l 177