English
Ask Your Question
1

How do i install matlab on fedora 25?

asked 2017-01-05 22:29:26 +0000

smurfendrek123 gravatar image

When running 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

Comments

2

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 ( 2017-01-05 22:57:53 +0000 )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 ( 2017-01-05 23:04:22 +0000 )edit

2 answers

Sort by » oldest newest most voted
3

answered 2017-01-05 22:30:30 +0000

smurfendrek123 gravatar image

updated 2017-03-16 11:47:48 +0000

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) ./activate_matlab.sh. 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 flag offensive delete link more

Comments

You also might want to take a look at this if you run into an error related to an invalid mex file: http://forums.fedoraforum.org/showthr...

smurfendrek123 ( 2017-03-02 14:39:46 +0000 )edit
1

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

https://bugs.launchpad.net/ubuntu/+so...

nick ( 2017-03-04 05:15:18 +0000 )edit

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

hhlp ( 2017-03-16 13:18:56 +0000 )edit

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

xen0f0n ( 2017-08-14 00:33:01 +0000 )edit
0

answered 2017-11-23 09:17:34 +0000

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

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2017-01-05 22:29:26 +0000

Seen: 3,317 times

Last updated: Nov 23 '17