Upalmin's blog
Monday, August 30, 2010
Copy RPM packege configuration RED HAT
rpm -qa --queryformat "%{NAME} \n"|sort >remote-rpm-list.txt
rpm -qa --queryformat "%{NAME}\n"|sort >local-rpm-list.txt
diff -b remote-rpm-list.txt local-rpm-list.txt |grep "<" |awk '{print $2}' >install-rpm.txt
yum install `cat install-rpm.txt`
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)