如何从Ubuntu上卸载mathematica 9?


8

我想知道如何从Ubuntu上卸载Mathematica。

apt-get remove不起作用。

Answers:


9

链接http://support.wolfram.com/kb/4730提供了以下信息:

的Linux

要卸载Mathematica,请删除以下目录。请备份您要保留在这些目录中的所有文档:

/usr/share/Mathematica/
~/.Mathematica/Licensing/mathpass
/usr/local/Wolfram/Mathematica/

4
还值得一提的是,一个人不能apt-get remove用来卸载一个apt-get install没有用来安装它的应用程序。
dobey 2013年

6

只需删除安装目录($InstallationDirectory在Mathematica中进行评估以找到它)。Mathematica 9是作为自解压的Shell脚本而不是软件包提供的。

如果你问的安装程序创建符号链接mathMathKernelMathematica命令,例如/usr/local/bin/你可以删除那些为好。

您可以根据需要备份$BaseDirectory/usr/share/Mathematica)和$UserBaseDirectory~/.Mathematica)中的用户设置。


对于数学10,符号链接的完整列表/usr/local/bin应该是MathKernelMathematicaWolframKernelmathmathematicamccwolfram
佐丹奴

4

要完全删除,包括使用这些代码的图标和链接,请执行以下操作:

rm -R ~/.Mathematica
sudo rm -R /usr/share/Mathematica
sudo rm -R /usr/local/Wolfram
sudo rm /usr/share/man/man1/mathematica.1
sudo rm /usr/share/mime/application/mathematica.xml
sudo rm /usr/share/mime/application/mathematicaplayer.xml
sudo rm /usr/share/mime/packages/wolfram-mathematica.xml
sudo rm /usr/share/mime/packages/wolfram-mathematicaplayer.xml
sudo rm /usr/local/bin/mathematica
sudo rm /usr/local/share/applications/wolfram-mathematica9.desktop
sudo rm /usr/share/icons/hicolor/128x128/apps/wolfram-mathematica.png
sudo rm /usr/share/icons/hicolor/128x128/apps/wolfram-mathematicaplayer.png
sudo rm /usr/share/icons/hicolor/128x128/mimetypes/application-mathematica.png
sudo rm /usr/share/icons/hicolor/128x128/mimetypes/application-mathematicaplayer.png
sudo rm /usr/share/icons/hicolor/128x128/mimetypes/gnome-mime-application-mathematica.png
sudo rm /usr/share/icons/hicolor/128x128/mimetypes/gnome-mime-application-mathematicaplayer.png
sudo rm /usr/share/icons/hicolor/32x32/apps/wolfram-mathematica.png
sudo rm /usr/share/icons/hicolor/32x32/apps/wolfram-mathematicaplayer.png
sudo rm /usr/share/icons/hicolor/32x32/mimetypes/application-mathematica.png
sudo rm /usr/share/icons/hicolor/32x32/mimetypes/application-mathematicaplayer.png
sudo rm /usr/share/icons/hicolor/32x32/mimetypes/gnome-mime-application-mathematica.png
sudo rm /usr/share/icons/hicolor/32x32/mimetypes/gnome-mime-application-mathematicaplayer.png
sudo rm /usr/share/icons/hicolor/64x64/apps/wolfram-mathematica.png
sudo rm /usr/share/icons/hicolor/64x64/apps/wolfram-mathematicaplayer.png
sudo rm /usr/share/icons/hicolor/64x64/mimetypes/application-mathematica.png
sudo rm /usr/share/icons/hicolor/64x64/mimetypes/application-mathematicaplayer.png
sudo rm /usr/share/icons/hicolor/64x64/mimetypes/gnome-mime-application-mathematica.png
sudo rm /usr/share/icons/hicolor/64x64/mimetypes/gnome-mime-application-mathematicaplayer.png
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.