Skip to content

Instantly share code, notes, and snippets.

@danielnagel
Last active December 27, 2019 16:59
Show Gist options
  • Save danielnagel/0b70c0f4190d1e1457ca5d508aa4bf43 to your computer and use it in GitHub Desktop.
Save danielnagel/0b70c0f4190d1e1457ca5d508aa4bf43 to your computer and use it in GitHub Desktop.
Quickly reinstalling packages for my awesome arch system.

Reinstall packages from current arch system

Running Manjaro under VirtualBox

Get a list of currently installed packages

Source

pacman -Qe | awk '{print $1}' > package_list.txt

Reinstall packages

 for x in $(cat package_list.txt); do pacman -S $x; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment