刚安装的程序要卸载,如何Ubuntu查看程序安装记录

如果新装一个程序,突然发现需要卸载,又忘记了程序名字,怎么解决呢?

/var/log/apt/history.log
/var/log/apt/term.log
/var/log/aptitude

看看这几个文件,里面应该有你需要的。

 

附录:

1.查看安装的所有软件

dpkg -l

dpkg -l | grep ftp #例子

2.查看软件安装的路径

dpkg -L | grep ftp #方法一

whereis ftp #方法二

3.查看软件版本

aptitude show

aptitude show ftp #例子

 

参考资料:

1.https://zhidao.baidu.com/question/139384578659355285.html

2.https://blog.csdn.net/qq_25615395/article/details/78561759

 

posted @ 2019-11-12 22:14  HAN_Letisl  阅读(479)  评论(0编辑  收藏  举报