list installed package
pacman -Qs package

 

 

remove installed package

1.only remove single package

 

pacman -R package

 

 

2.remove package and its dependencies which are not required by any other installed package

 

pacman -Rs package
 

install package

pacman -S package

 

find package from repository

pacman -Ss package 

相关文章: