Matlab installer popus out every time on ubuntu terminal
Show older comments
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
James
on 10 Mar 2023
The things you are describing are rather vague. Can you add some photos of the things you're seeing? And what "troubles" was it giving you post-installation specifically?
Tangat Baktybergen
on 10 Mar 2023
Tangat Baktybergen
on 10 Mar 2023
Tangat Baktybergen
on 10 Mar 2023
James
on 10 Mar 2023
I have absolutely no idea what any of that stuff is. If it's "matlab-support", that's not an official package by MathWorks and I've found it causes as many problems as it solves. What does libfuse2 have to do with MATLAB?
Tangat Baktybergen
on 10 Mar 2023
Edited: Tangat Baktybergen
on 10 Mar 2023
Rik
on 10 Mar 2023
I presume using apt to remove matlab-support does nothing?
Rik
on 10 Mar 2023
@Jestzer Based on the folder name indicated, it would seem to me that the OP was trying to install R2008a (i.e. v7.6). I expect it would be tricky to get that to work on a modern Ubuntu install. Adding pirating in the mix will not help getting R2008a to work. I doubt it will be easy to find a cracked version of it anyway. Also, I find that in life (especially online) it is often better to attribute mistakes to a lack of knowledge instead of a lack of morals.
Tangat Baktybergen
on 10 Mar 2023
Answers (1)
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!
