I tried installing Matlab through Pamac, but no dice, it says that the source file does not exist. Could the sage people of this forum nudge me in the right path?
Eternaly indebted,
Marco
I tried installing Matlab through Pamac, but no dice, it says that the source file does not exist. Could the sage people of this forum nudge me in the right path?
Eternaly indebted,
Marco
try
yay -S matlab
in your terminal.
It looks like AUR helpers are not supported.
Also, it appears that the matlab
package requires the user to have an official version of the (proprietary) matlab source code.
From the Arch wiki page for matlab:
Installation
A complete copy of the MATLAB software must be obtained before it can be installed. The MATLAB software is available to licenses holders on both a DVD and through the The MathWorks website. In addition to the software a file installation key is required for installation. It is possible to install MATLAB either with the matlabAUR package or from the MATLAB installation software directly. The advantage of the matlabAUR package is that it manages dependencies and some of the nuances of the installation process while installing directly from the MATLAB installation software can be done by regular users to their home directories.
Also from the Arch wiki page for matlab:
Installing from the AUR package
The matlab package is designed to allow MATLAB to be integrated into and managed by Arch. Note however, that the package does not contain the installation files, and you are expected to place them in the cloned package folder yourself. It can be problematic to build the package using AUR helpers, so you are expected to do so manually. You can obtain the actual MATLAB software using the installer from the MathWorks website.
If you go to the matlab
package’s AUR page and look at the comments, you will find the following comment from the previous maintainer (2020-09-21):
READ THE README FILE IN THE REPO. NO AUR HELPERS SUPPORTED. ONLY ARCHLINUX AS OS IS SUPPORTED. YOU SHOULD BE BUILDING THIS PACKAGE USING MAKEPKG, NOTHING ELSE WILL BE SUPPORTED…
This PKGBUILD DOES NOT DOWNLOAD MATLAB FOR YOU. The EULA prevents redistribution of the software. Read the README.md file contained in the PKGBUILD repo. This is essentially a script to integrate an existing matlab installer with your archlinux system; it does NOT come with any software from Mathworks. You most likely cannot build this package using an AUR helper; you NEED to manually provide files; and to get the files you need a valid MATLAB licence.
Here is the current README file, as hosted on the package’s github page.
However, the latest comment (2022-09-25) from the current maintainer on the package’s AUR page suggests that the current package is not building:
Hi, I’m tackling the problem with the add-ons installation, where the installer can’t write to /usr/local/MATLAB/R2022b… So far I’m able to start the installer, download the add-on archive, but when I get to Performing post-installation tasks. This may take a few minutes…, an error occurs, and the installer logs End - Unsuccessful Exception: java.lang.InterruptedException without further information.
If anyone wants to help me resolve this issue, here is the repo: https://github.com/Rubo3/matlab-aur/tree/addons.
There is a suggested solution from a user on the package’s github page:
Hopefully this will be of help to you. I wish you good luck.
No this does not work as @Stagger_Lee explains below
I am not sure what you were going to use Matlab for, but another option is to go with the open source Sagemath. It might help you reach your goals
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.