I would like for example to remove php and all it's components and extensions as seen in this picture, but instead of removing every software one by one, is there anyway safe I can remove them all using a single command?
Since you are in CentOS, you could use the yum
as suggested here.
yum remove $(yum list installed | grep php | cut -d' ' -f1 | tr "\n" " ")
php55w-common
, perhaps. – Faheem Mitha Sep 19 '14 at 15:39grep
way to do this – robue-a7119895 Sep 19 '14 at 15:44php55w-*
if you want. – Faheem Mitha Sep 19 '14 at 16:55