Uninstall Mathematica on Ubuntu Linux

Basically, you have to:

  • delete the folders /usr/local/Wolfram and /usr/share/Mathematica.
  • remove a number of links in /usr/local/bin: mathematica mcc Mathematica math MathKernel.
  • in your home directory you can remove the folder ~/.Mathematica

The following commands do that all:

sudo rm -rf /usr/local/Wolfram
sudo rm -rf /usr/share/Mathematica
cd /usr/local/bin
sudo rm mathematica mcc Mathematica math MathKernel
rm -rf ~/.Mathematica

Resources

Comments