Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'd like to know how can I uninstall Mathematica from Ubuntu.

apt-get remove does not work.

share|improve this question

2 Answers 2

up vote 4 down vote accepted

The link http://support.wolfram.com/kb/4730 provides the following information:

Linux

To uninstall Mathematica, please remove the following directories. Please back up any documents that you want to keep from these directories:

/usr/share/Mathematica/
~/.Mathematica/Licensing/mathpass
/usr/local/Wolfram/Mathematica/
share|improve this answer
4  
Also worth mentioning that one cannot use apt-get remove to uninstall an application for which apt-get install was not used to install it. –  dobey Apr 4 '13 at 18:51

Simply remove the installation directory (evaluate $InstallationDirectory within Mathematica to find it). Mathematica 9 is delivered as a self-extracting shell script, rather than a package.

If you asked the installer to create symlinks for the math, MathKernel, and Mathematica commands, e.g. in /usr/local/bin/ you could remove those as well.

You can backup the user setting in $BaseDirectory (/usr/share/Mathematica) and $UserBaseDirectory (~/.Mathematica) as desired.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.