Skip to content

Instantly share code, notes, and snippets.

@zlocate
Last active December 15, 2023 21:55
Show Gist options
  • Save zlocate/7c3f19f7d55981c25a594433fa448527 to your computer and use it in GitHub Desktop.
Save zlocate/7c3f19f7d55981c25a594433fa448527 to your computer and use it in GitHub Desktop.
Script for getting list of installed packages

Manjaro Helpers (Installed Packages)

Скрипты для получения списка установленных пакетов / aur-зависимостей. Полезны при миграции с одной сборки на другую или при переустановке системы.

#!/bin/bash
sudo pamac list -i | grep 'AUR' | awk '{print $1}' > aur_packages.txt
#!/bin/bash
sudo pamac list --installed | awk '{print $1}' > installed-files.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment