Simply install the same software on other systems using Pacman
Hello, I'm incompetent.
I wanted to install the same packages on other systems using Pacman, so I did this.
sudo pacman -Qq > pacman.sh
The above command outputs currently installed packages.
sed -i ‘s/^/sudo pacman -S /g’ pacman.sh
Appends `sudo pacman -S ` to the beginning of each line.
sed -i ‘s/$/ --noconfirm/g’ pacman.sh
Appends the option to ignore yes/no prompts to the end of each line.
Write `#!/bin/bash` on the first line of this `pacman.sh` file using vi.
Then, move this `pacman.sh` to another Pacman-enabled system and grant it execute permissions.
chmod +x pacman.sh
After that, simply run `pacman.sh` and the installation will begin.
It's easy! Awesome!