Removing (Uninstalling) the COMSOL Installation
To remove a COMSOL installation from your system, you can use the COMSOL Installer’s uninstallation option. This removes all the files and directories that were initially created by the COMSOL Installer. Files and directories that were created or modified after the installation are not removed.
You can start the COMSOL Uninstaller in a few different ways:
/usr/local/comsol64/multiphysics/setup uninstall
Alternatively, to remove the COMSOL installation, delete the comsol64 folder including all subfolders and the following files if they exist:
/usr/local/bin/comsol
/usr/local/bin/comsol-6.4
/usr/share/applications/comsol-multiphysics-6.4.desktop
~/.local/share/applications/comsol-multiphysics-6.4.desktop
/usr/lib/systemd/system/lmcomsol.service