Skip to content

Instantly share code, notes, and snippets.

@ggteixeira
Created July 13, 2021 17:43
Show Gist options
  • Save ggteixeira/c15b472d7cd32c379bfe35cf46828914 to your computer and use it in GitHub Desktop.
Save ggteixeira/c15b472d7cd32c379bfe35cf46828914 to your computer and use it in GitHub Desktop.
Listing and installing repo packages and foreign packages
pacman -Qeqm > foreign_pkgs
# after reinstall
git clone aur.archlinux.org/yay.git
pushd yay
makepkg -si
popd
yay -S - < foreign_pkgs
***
pacman -Qeqn > repo_pkgs; pacman -Qeqm > foreign_pkgs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment