2010年8月11日 星期三

How to query dependencies from RPM file or packages


rpm -qpR {.rpm-file}
rpm -qR {package-name}

How to list packages in Ubuntu

dpkg --get-selections > packages

References:
http://www.cyberciti.biz/faq/how-do-i-find-what-dependencies-a-rpm-file-has/
http://askubuntu.com/questions/17823/how-to-list-all-installed-packages

沒有留言: