Matlab installer popus out every time on ubuntu terminal
4 visualizaciones (últimos 30 días)
Hi, I am very new to Ubuntu/Linux system. I tried to install matlab on ubuntu. It didnt install properly and get me a lot of troubles. Now I am deleting it but still whenever I try to install something Matlab installer window pops out on my terminal and asks to show the path where it is installed. What can help me to get rid of this window or how delete "everything" about matlab on my ubuntu.
Amith el 27 de Mzo. de 2023
As per my understanding you wanted to know the steps on how to remove the current matlab installation and how to install matlab correctly. Below are the steps to do the same.
To remove an existing MATLAB installation in Ubuntu, you can follow these steps:
Open a terminal window.
Navigate to the directory where MATLAB is installed. By default, MATLAB is installed in the /usr/local/ directory or use
to find the matlab installation directory.
. To navigate to this directory, run the following command:
List the contents of the directory to confirm that the MATLAB installation is present:
To remove the MATLAB installation, run the following command:
sudo rm -rf matlab/
This will remove the entire MATLAB installation directory.
If you have MATLAB added to your system path, you may need to remove it manually. To check if MATLAB is added to your system path, run the following command:
If you see a path that contains /usr/local/matlab/bin, you will need to remove it from your system path. To do this, you can edit the .bashrc file using the following command:
Look for a line that contains
and remove it. Then save and exit the file.
To install the new MATLAB version, you can refer to this answer
Make sure to choose the correct version for your operating system and follow the instructions carefully to ensure a successful installation.
For the system requirements and supported compilers refer the below link – Support - System Requirements and Supported Compilers Previous Releases - MATLAB & Simulink (mathworks.com)