我安装了VLC播放器,但现在我想完全摆脱它,所以我在终端中输入了以下命令:
sudo apt-get purge vlc它告诉我它已经清除了它,但是在终端中,当我输入vlc时,这是输出(虽然没有启动GUI ):
VLC media player 2.2.0-pre2 Weatherwax (revision 2.2.0-pre1-15-g5178b24)
[0000000001f3bab8] core interface error: no suitable interface module
[0000000001f21118] core libvlc error: interface "globalhotkeys,none" initialization failed
[0000000001f21118] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00000000020f66d8] [cli] lua interface: Listening on host "*console".
VLC media player 2.2.0-pre2 Weatherwax
Command Line Interface initialized. Type 'help' for help.
> 如果我输入help,我会从程序中得到适当的响应。它还允许我键入并执行任何相关的命令。
那么,我如何能够完全删除VLC,以便在执行命令vlc时它告诉我它不知道该命令?
我目前正在运行Ubuntu14.10。
发布于 2015-01-12 14:51:56
你看到的vlc取决于vlc-nox,安装vlc命令。具体删除它,或者使用autoremove:
apt-get autoremove
# or
apt-get remove vlc-nox发布于 2015-01-12 21:08:32
上述任何一项都不会实际删除所有vlc包(通常为6-7)。最好这样做-
sudo apt-get purge vlc-data
发布于 2016-02-08 16:56:46
要在一个命令中删除包及其所有依赖项,还可以直接将包名作为参数传递给apt-get autoremove:
sudo apt-get autoremove vlc如果您更喜欢清除包(同时清理所有配置文件),那么可以这样做:
sudo apt-get autoremove --purge vlc但是,由于vlc的复杂依赖树,这在您的情况下是行不通的。autoremove只自动删除目前没有安装反向依赖项的包。这意味着只要还有其他可能依赖于vlc's依赖关系的包,它们就会留下来。这些包可能是vlc-plugin-*包,它们依赖于vlc,但在第一次运行时还没有被移除。
但是,如果在第一行之后继续触发sudo apt-get autoremove,apt-get应该慢慢开始意识到还有更多的东西需要删除。
https://askubuntu.com/questions/572865
复制相似问题