Skip to content

Instantly share code, notes, and snippets.

@NathanGiesbrecht
Last active January 29, 2017 20:57
Show Gist options
  • Save NathanGiesbrecht/86fb0682d2362dfe23e2 to your computer and use it in GitHub Desktop.
Save NathanGiesbrecht/86fb0682d2362dfe23e2 to your computer and use it in GitHub Desktop.
Save Installed Software Centos
#!/bin/bash
# A script to save installed software list automatically to Github
# Clone this Gist
git clone <this gist URL>
# Dump list of all installed software
rpm -qa > ~/installed-software.log
# Install software dumped from previous command
yum install $(cat ~/installed-software.log)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment