Làm cách nào để gỡ cài đặt mathicala 9 khỏi Ubuntu?


8

Tôi muốn biết làm thế nào tôi có thể gỡ cài đặt Mathematica khỏi Ubuntu.

apt-get remove không hoạt động.

Câu trả lời:


9

Liên kết http://support.wolfram.com/kb/4730 cung cấp các thông tin sau:

Linux

Để gỡ cài đặt Mathicala, vui lòng xóa các thư mục sau. Vui lòng sao lưu mọi tài liệu mà bạn muốn giữ từ các thư mục này:

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

4
Cũng đáng đề cập rằng người ta không thể sử dụng apt-get removeđể gỡ cài đặt một ứng dụng apt-get installkhông được sử dụng để cài đặt nó.
dobey

6

Chỉ cần xóa thư mục cài đặt (đánh giá $InstallationDirectorytrong Mathicala để tìm nó). Mathematica 9 được phân phối dưới dạng tập lệnh shell tự giải nén, thay vì gói.

Nếu bạn hỏi những cài đặt để tạo liên kết tượng trưng cho math, MathKernelMathematicalệnh, ví dụ như trong /usr/local/bin/bạn có thể loại bỏ những người là tốt.

Bạn có thể sao lưu cài đặt người dùng trong $BaseDirectory( /usr/share/Mathematica) và $UserBaseDirectory( ~/.Mathematica) như mong muốn.


Đối với Mathematica 10, toàn bộ danh sách liên kết tượng trưng trong /usr/local/binnên MathKernel, Mathematica, WolframKernel, math, mathematica, mcc,wolfram
Giordano

4

Để xóa hoàn toàn, bao gồm các biểu tượng và liên kết để sử dụng các mã này:

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
Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookieChính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.