Skip to content

Instantly share code, notes, and snippets.

@iinm
Created May 4, 2020 12:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iinm/ab1b760d1ad3f8e408c4b68ae3343bc7 to your computer and use it in GitHub Desktop.
Save iinm/ab1b760d1ad3f8e408c4b68ae3343bc7 to your computer and use it in GitHub Desktop.
pacman --sync PACKAGE_NAME # install package
pacman --sync --refresh --sysupgrade # upgrade all package
pacman --remove --recursive PACKAGE_NAME # remove package
cat 'IgnorePkg = PACKAGE_NAME' >> /etc/pacman.conf # ignore upgrade
asp checkout PACKAGE_NAME # get package source
makepkg --syncdeps --skippgpcheck # build package, require base-devel package group
# remove unneeded packages
pacman --query --quiet --deps --unrequired \
| xargs sudo pacman --noconfirm --remove --recursive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment