Ask Your Question

How do i install matlab on fedora 25?

asked 2017-01-05 16:29:26 -0500

smurfendrek123 gravatar image

updated 2018-03-11 05:45:53 -0500

When trying to run sudo ./install in the unzipped matlab folder to install matlab on fedora 25, it immediately says installation finished without actually doing anything.

This used to work on fedora 24.

edit retag flag offensive close merge delete



Not really an answer to this question, per se, but please be aware that there are two free and open-source MATLAB "clones" in the official Fedora repositories — GNU Octave and Scilab. Both have a MATLAB-like syntax, a graphical user interface and are cross-platform.

BH2017 gravatar imageBH2017 ( 2017-01-05 16:57:53 -0500 )edit

I know, but the only thing i need from matlab is the mupad plugin, which offers symbolic math. I've looked around and wxmaxima seems to be the only program that is about the same, but it was a bit hard to use, with simple plots being harder than with mupad.

smurfendrek123 gravatar imagesmurfendrek123 ( 2017-01-05 17:04:22 -0500 )edit

2 Answers

Sort by » oldest newest most voted

answered 2017-01-05 16:30:30 -0500

smurfendrek123 gravatar image

updated 2018-04-21 17:02:53 -0500

Easy workaround: You can install matlab on fedora 25 by using xorg instead of wayland to install matlab, running matlab still works in wayland.

So you'll have to log out, and switch to Xorg to install matlab, and then you can switch back to wayland.

For installing matlab without going to Xorg:

You need to fill out the installer_input.txt and set the installer mode to silent in there. You might not have to enter a licence key or an activation.ini location (try it without first, you can activate later, if it doesn't work try with just filling in the key, then filling in both the key and activation.ini).

The only things that you really need to fill in are: destinationfolder, agreetolicence, outputfile, installer mode(set to silent), and all the way at the bottom which products you want to install. Run the installer by running sudo ./install -inputFile $full_path_to_installer_input.txt

You can then activate your matlab by going to /usr/local/MATLAB/r2017a/bin/ and running (not as root) ./ This works in wayland.

If you want to be able to start matlab by typing matlab in the terminal, you will have to link the matlab binary to /usr/local/bin. You can do this by running sudo ln -s /usr/local/MATLAB/R2017a/bin/matlab /usr/local/bin/matlab.

Edit: this doesn't seem to work anymore with newer versions of matlab since they now force you to have the .iso file of the install, which only your licence administrator can provide you. The silent install doesn't work anymore with the normal installer.

edit flag offensive delete link more


You also might want to take a look at this if you run into an error related to an invalid mex file:

smurfendrek123 gravatar imagesmurfendrek123 ( 2017-03-02 08:39:46 -0500 )edit

this is because you can't run GUI applications under Wayland with elevated privileges.

nick gravatar imagenick ( 2017-03-03 23:15:18 -0500 )edit

@nick I point yuo in the right direction -> 102936

hhlp gravatar imagehhlp ( 2017-03-16 08:18:56 -0500 )edit

worked for me on Fedora 26 and Matlab 2016b! I got a template for the installer_input.txt from here

xen0f0n gravatar imagexen0f0n ( 2017-08-13 19:33:01 -0500 )edit

answered 2017-11-23 03:17:34 -0500

Sergey Bezugliy gravatar image

Before start installation execute

$ xhost +

After finish

$ xhost -

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-01-05 16:29:26 -0500

Seen: 4,127 times

Last updated: Apr 21