Create a List of all installed packages on Arch Linux

Archlinux-icon.png

Say you need a backup list of every package installed on  your Arch system.  This should be simple enough:

pacman -Qe > intalled_apps.txt

Lets say you’re setting up a new box, or blew away your installation and want to go back just to the way things were.  Well save this file, and once you’ve gone through the initial Arch install simply run

for x in $(cat install_apps.txt); do pacman -S $x; done

Related Posts

Comments are closed.