Skip to main content
9 events
when toggle format what by license comment
Jun 8, 2024 at 23:03 comment added Maxwell Zhao This can have false positives/negatives for example with the r package which will match against every package containing an r. installed="|^"$(pacman -Q | cut -d ' ' -f 1 | tr '\n' '*' | sed 's/\*/$|^/g') seems to work for me.
Mar 29, 2024 at 15:27 comment added EkriirkE As egrep is deprecated, I used pacman -Ssq | grep -E -v \'${installed}\' - and to search you just add it to the first part, no additional piping needed: pacman -Ssq pkgname | grep -E -v \'${installed}\' (after setting the installed variable). To pass this on to pacman for installation, you to add another pipe: pacman -Ssq xfce4 | grep -E -v \'${installed}\' | pacman -S -
Feb 13, 2018 at 18:43 comment added Eduardo Lúcio PLUS: Use pacman -Ssq | egrep -v \'${installed}\' | egrep -i '<YOUR_PACKAGE_NAME_OR_PART>' to search only among uninstalled packages. NOTE: q flag excludes description. Ref.: archlinux.org/pacman/pacman.8.html#_query_options_a_id_qo_a
Feb 27, 2017 at 8:19 vote accept hks
Feb 26, 2017 at 19:03 history edited Thomas CC BY-SA 3.0
added 194 characters in body
Feb 26, 2017 at 19:00 history undeleted Thomas
Feb 26, 2017 at 17:46 history deleted Thomas via Vote
Feb 26, 2017 at 11:14 comment added Jeff Schaller "... aren't yet installed"
Feb 26, 2017 at 11:05 history answered Thomas CC BY-SA 3.0