Created
May 4, 2020 12:12
-
-
Save iinm/ab1b760d1ad3f8e408c4b68ae3343bc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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