软件安装分为:(installed|reinstalled|removed|downgraded|upgraded)
1、查看安装的 cat /var/log/pacman.log | grep -E
installed
2、查看再安装 cat /var/log/pacman.log | grep -E
reinstalled
3、查看删除的 cat /var/log/pacman.log | grep -E
removed
4、查看下载的 cat /var/log/pacman.log | grep -E
downgraded
5、查看升级的 cat /var/log/pacman.log | grep -E
upgraded
最好使用管道处理下:cat /var/log/pacman.log | grep -E installed >> ~/installed.txt
查看文件:vim ~/installed.txt