我已经尝试了dpkg、aptitude和apt命令。
在gnome桌面上,我决定删除一个组件。
sudo apt-get remove gnome-games 或者别的什么,一切都很好。
但如果我不知道正确的包裹名字我就有麻烦了。
这能帮我找出PID。
gnome-system-monitor但是现在我也不知道正确的进程名称,因为它们很短。
如果我在gnome中启动一个应用程序,我如何才能找到正确的包名?
我认为混合使用不同的应用是最好的方法。
显示正在运行的进程名和进程名称。
gnome-system-monitor搜索包名
dpkg -l 'gnome-*'
dpkg -l | grep 'gnome-'
aptitude search gnome-*搜索完整的包列表
apt-cache search gnome*使用Synaptic (UI-Paket Manager)
/usr/bin/synaptic-pkexec发布于 2014-11-06 05:55:45
您可以找到由dpkg -S提供命令的包:
来自管理手册:
-S, --search filename-search-pattern...
Search for packages that own files corresponding to the given pattern. Standard shell
wildchars can be used in the pattern. This command will not list extra files created by
maintainer scripts, nor will it list alternatives.通过运行dpkg -S <command>,您可以找到提供此命令/程序的包(及其文件)
https://unix.stackexchange.com/questions/165553
复制相似问题