hi, I need to install matlab for my university.
When i try to install it from pamac it gets stuck on gcc8 conf and the same happens when I try to use yay.
Iâm trying to follow these steps but I have an error
https://wiki.archlinux.org/title/MATLAB#Installing_from_the_MATLAB_installation_software
error:
bsdtar: could not chdir to 'matlab'
And if I try to start the installation script with
./install î˛ â
/home/andrea/matlab/bin/glnxa64/MathWorksProductInstaller: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
Based on the comments in the AUR page, you also need the libxcrypt-compat package.
On another topic, the AUR maintainer seeks someone to take over.
Anyone wants to take over the package? I donât use Arch anymore. Please email me so we can discuss; as I want to hand over this package to someone who knows what they are doing.
AUR (en) - matlab
Thank you very much, I just had to install the package you told me.
Every time I think the world is becoming more âopenâ towards open source (yes, pun intended), itâs stuff like this, enforced and entrenched by institutions, that crushes my optimism.
I found octave that is open source.
Iâd like to try that one too.
Everytime I had to install matlab (even in ubuntu) I always had some issues, itâs very frustrating
I have an error after trying to create the shortcut:
[Desktop Entry]
Version=R2022a
Type=Application
Terminal=false
MimeType=text/x-matlab
Exec=/home/andrea/mat/bin/matlab -desktop
Name=MATLAB
Icon=matlab
Categories=Development;Math;Science
Comment=Scientific computing environment
StartupNotify=true
This is the .desktop file I wrote but I have this error :
Could not find the program at the directory that I choose
Is the matlab
file executable? (Does it have âexecâ permissions?)
Your .desktop
file should read:
Version=1.0
Donât put the applicationâs version number in there. Itâs a reference to the XDG / FreeDesktop standards version.
Yes I used chmod +x and i modified the version.
But I have the same error.
Does matlab
launch if invoked directly from the terminal?
yes !!!
Can you paste your revised .desktop
file contents again?
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
MimeType=text/x-matlab
Exec=/home/andrea/mat/bin/matlab -desktop
Name=MATLAB
Icon=matlab
Categories=Development;Math;Science
Comment=Scientific computing environment
StartupNotify=true
OK man it works. I had to log out.
And how did you invoke it in the terminal?
Was it from your $HOME folder, like this?
/home/andrea/mat/bin/matlab -desktop
âŚor like this?
~/mat/bin/matlab -desktop
Or did you cd
into the folder and then execute it like this?
cd mat/bin/
./matlab -desktop
Do all of the above methods work?
Thank you for all your help in both discussions
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.