我从软件中心卸载了wine 1.6.1,因为我将通过从源代码编译来安装更高版本的wine。
但卸载不会删除~中的那些文件。
~/.wine/drive_c$ ls *
os433025.bin
Program Files:
Common Files Internet Explorer Microsoft Visual Studio NewSoft Ultrapico
Djvu Bookmarker JGsoft Microsoft Visual Studio 8 OpenBUGS
Foxit Software MathType Microsoft Works Tracker Software
InstallShield Installation Information Microsoft.NET MSBuild TTKN
users:
Public tim
windows:
assembly Fonts Installer notepad.exe SHELLNEW temp Vbox win.ini~
COCR2.INI help logs PCHEALTH system twain_32.dll winhelp.exe winsxs
command hh.exe Microsoft.NET regedit.exe system32 twain.dll winhlp32.exe xinstaller.dll
explorer.exe inf mono rundll.exe system.ini UnDeployV.exe win.ini xinstaller.exe
为什么不把它们移除?有什么理由让它们仍然值得保留吗?
如果我想删除应用程序的所有未被其他应用程序使用的文件,我应该使用哪个命令?
答案1
“清除”选项应该apt-get
删除该包和相关的配置文件......
sudo apt-get purge <package_name>
apt-get 手册页 (http://manpages.ubuntu.com/manpages/trusty/en/man8/apt-get.8.html) 说,
purge is identical to remove except that packages are removed and
purged (any configuration files are deleted too).