Matlab installer popus out every time on ubuntu terminal

5 views (last 30 days)
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.
  11 Comments
Jestzer
Jestzer on 10 Mar 2023
Edited: Jestzer on 10 Mar 2023
Then you grossly overcomplicated your installation/uninstallation, unless you were also trying to install some third-party software/add-ons.

Sign in to comment.

Answers (1)

Amith
Amith on 27 Mar 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
which matlab
or
whereis matlab
to find the matlab installation directory.
. To navigate to this directory, run the following command:
cd <path>
List the contents of the directory to confirm that the MATLAB installation is present:
ls
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:
echo $PATH
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:
nano ~/.bashrc
Look for a line that contains
export PATH=/usr/local/matlab/bin:$PATH
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)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!