Last active
January 29, 2017 20:57
-
-
Save NathanGiesbrecht/86fb0682d2362dfe23e2 to your computer and use it in GitHub Desktop.
Save Installed Software Centos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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