火曜日, 11月 24, 2009

rpm

To generate list of current packages including version and release:


rpm -qa --queryformat="%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n" | sort > file


rpm -qa --qf "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"

0 件のコメント: