Matlab installer for R2026a under Linux fails at Duo authentication
Show older comments
I'm trying to install Matlab R2026a under Almalinux 10. I run the "install" script, and enter my university e-mail address. It redirects to our university's single-sign-on page, where I enter my password, and then get passed to Duo for 2-factor authentication. The Duo page pops up briefly and then disappears before I can authenticate. There's no other output from the install script, which seems hung at this point. Running MathworksProductInstaller by hand, I see the same symptoms. There are no error messages.
6 Comments
Torsten
on 15 Jul 2026 at 14:47
Answer from AI:
The Duo 2FA page immediately disappearing is a known issue caused by compatibility conflicts between the Linux desktop environment (Polkit or webkit) and the MathWorks installer/authorizer. To bypass the crash, use your keyboard instead of the mouse during the login prompts, or use the MATLAB Package Manager (MPM) to bypass the GUI entirely. [1, 2, 3]
Option 1: Use the Keyboard Only
Many users on MATLAB Central confirm that clicking with the mouse on the initial MathWorks login/2FA window causes it to crash immediately. [1]
- Launch the ./install script.
- When the login screen appears, do not click on any text fields or buttons with your mouse.
- Use your Tab key to navigate between fields, and type your credentials manually.
- When Duo prompts you, use the keyboard to type your passcode or approve the push notification. [1, 2]
Option 2: Use the MATLAB Package Manager (CLI)
If the graphical installer continues to fail, you can use the command-line interface to complete the process without a browser.
- Navigate to the official MathWorks MATLAB Package Manager Repository for instructions on downloading the CLI installer.
- Run the command line installer.
- Once installed, you can manually activate your license using the offline license file or terminal activation commands. [1, 2]
Option 3: Contact MathWorks Support
If the issue continues to persist across all installation methods, it may require a direct patch from MathWorks. Reach out to their MathWorks Installation and Licensing Support for direct assistance.
Bryan
on 15 Jul 2026 at 14:52
I changed the comment several times. I think the listed options from above now don't assume that MATLAB is already installed.
My question to google AI was:
What to do if the duo authentification page pops up and disappears immediately in matlab with Linux OS during installation ?
If you have a more precise formulation, you can try.
If you don't succeed, try option 3 and/or contact your university IT department.
Bryan
on 15 Jul 2026 at 14:59
Torsten
on 15 Jul 2026 at 17:56
If you find a remedy, it would be nice if you could post the solution. This way, other users with the same problem can save time.
Accepted Answer
More Answers (2)
Ishan
on 21 Jul 2026 at 6:06
0 votes
MATLAB R2026a supports Linux installation using the interactive installer. If the installer hangs during the sign-in or authentication flow and the Duo authentication dialog closes unexpectedly, this may indicate an issue specific to the authentication environment, identity provider configuration, or local system configuration rather than the MATLAB installation workflow itself.
As a workaround, you may consider installing MATLAB using the MATLAB Package Manager (MPM), which provides a command-line installation workflow for Linux systems. After installation, licensing and activation can be completed separately.
If the issue persists, I would recommend contacting MathWorks Installation and Licensing Support, as they can assist with installer authentication issues and collect diagnostic information from the affected system.
Documentation:
Bryan
on 21 Jul 2026 at 18:38
0 votes
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!