Skip to content

Instantly share code, notes, and snippets.

@soal
Created November 30, 2012 00:15
Show Gist options
  • Save soal/4172838 to your computer and use it in GitHub Desktop.
Save soal/4172838 to your computer and use it in GitHub Desktop.
Save list of installed packages on Fedora and RHEL
#Save list:
rpm --queryformat=%{NAME}" " -qa > package.list
#Install from list:
sudo yum install $(cat packages.list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment