Hi everyone, my name's Carlo. I installed Fedora 2 weeks ago because I need it at university. I had some problem installing MatLab. I tryed to install simply with the command ./install but then I have to choose the folder to install i had this error:
"Failed to create folder (/usr/local/MATLAB/R2016b/).".
So i created the folder myself from terminal with root permission, but then i hade another error:
"Unable to write to /usr/local/MATLAB/R2016b/. Please select a different folder."
I changed folder, trying to install in home/.matlab (again I created the folder .matlab) and fortunately I could go ahead in the installation. When it finished i saw the icon of Matlab but when i clicked on "Finish" the icon disappeared, and MatLab seems it's not installed.
I then started the installation as root: sudo ./install but this is what happend:
sudo ./install Preparing installation files ... Installing ... Finished
I have no idea what i have to do now. Please can someone help me? Realy thank u. Carlo
On Sun, Mar 12, 2017 at 9:00 PM, carloberdondini@live.it wrote:
Hi everyone, my name's Carlo. I installed Fedora 2 weeks ago because I need it at university. I had some problem installing MatLab. I tryed to install simply with the command ./install but then I have to choose the folder to install i had this error:
"Failed to create folder (/usr/local/MATLAB/R2016b/).".
So i created the folder myself from terminal with root permission, but then i hade another error:
"Unable to write to /usr/local/MATLAB/R2016b/. Please select a different folder."
I changed folder, trying to install in home/.matlab (again I created the folder .matlab) and fortunately I could go ahead in the installation. When it finished i saw the icon of Matlab but when i clicked on "Finish" the icon disappeared, and MatLab seems it's not installed.
I then started the installation as root: sudo ./install but this is what happend:
sudo ./install Preparing installation files ... Installing ... Finished
I have no idea what i have to do now. Please can someone help me?
Did you try the command matlab in terminal? If that doesn't help, [1] may be helpful.
[1] https://www.mathworks.com/help/matlab/matlab_env/start-matlab-on-linux-platf...
Realy thank u. Carlo
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
"Unable to write to /usr/local/MATLAB/R2016b/. Please select a different folder."
This suggests you were on the right track. When you created the folder as root it is owned by root. You have several options IMO:
1. create a folder in your home directory if it is suitable for the software. Then you own the location. or 2. Change the ownership of MATLAB and lower levels to your user with the "chown" command. or (my recommendation with the given information) 3. Create a group called "matlab" and change group ownership using "chgrp" of the MATLAB directory.
The last option allows other users to use the software if you wish by joining the group.
-- Fred
On 03/12/2017 06:00 AM, carloberdondini@live.it wrote:
I changed folder, trying to install in home/.matlab (again I created the folder .matlab) and fortunately I could go ahead in the installation. When it finished i saw the icon of Matlab but when i clicked on "Finish" the icon disappeared, and MatLab seems it's not installed.
What makes you think it's not installed?
Try running ~/.matlab/bin/matlab