Artix Linux Forum

Artix Linux => Package management => Topic started by: mardiyah on 04 October 2021, 14:32:26

Title: To update some certain packages only
Post by: mardiyah on 04 October 2021, 14:32:26
How do we update some certain packages by pacman ?

E.g how do we update only packages (in regex syntax) py.+
as below not work:

$ sudo pacman -S 'py.+'
error: target not found: py.+

Please help out, thanks in advance
Title: Re: To update some certain packages only
Post by: strajder on 04 October 2021, 14:42:11
https://wiki.archlinux.org/title/Pacman

https://forum.artixlinux.org/index.php/topic,1923.0.html
Title: Re: To update some certain packages only
Post by: calvinh on 04 October 2021, 14:52:37
How do we update some certain packages by pacman ?

E.g how do we update only packages (in regex syntax) py.+
as below not work:

$ sudo pacman -S 'py.+'
error: target not found: py.+

Please help out, thanks in advance

Try,

Code: [Select]
$sudo pacman -S $(pacman -Ssq  'py.+' )