https://github.com/boredsquirrel/matlab-linux-install
Install the binary install of matlab in any Linux Distro (Appstarter for KDE)
https://github.com/boredsquirrel/matlab-linux-install
Last synced: 3 months ago
JSON representation
Install the binary install of matlab in any Linux Distro (Appstarter for KDE)
- Host: GitHub
- URL: https://github.com/boredsquirrel/matlab-linux-install
- Owner: boredsquirrel
- Created: 2022-10-18T21:31:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-15T13:54:02.000Z (about 3 years ago)
- Last Synced: 2025-01-26T20:22:59.175Z (over 1 year ago)
- Language: Shell
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install Matlab on Linux
Install the binary of matlab on any Linux Distro, including an Appstarter to launch it
Installing Matlab on Linux is annoying. But if done right, its not actually hard, here are the needed commands:

## 1. Download Matlab
save `Matlab_R.zip` to a folder like `/home/USERNAME/Programs`
```
cd ~/Programs &&\
mkdir INSTALL &&\
unzip -X -K matlab_* &&\
rm -f matlab_*.zip
./install
# activation should now be done in the installer
# choose "INSTALL" in the same directory as the download dir
# this works on immutable distros and also helps with the integration
```
## GUI integration
```
wget https://github.com/trytomakeyouprivate/Matlab-Linux-Install/raw/main/MATLAB-GUI-INSTALL
chmod +x MATLAB-GUI-INSTALL
./MATLAB-GUI-INSTALL
```
- bashrc, zshrc, fish integration
- Icon in the appmenu
- mimetype, so .m files should be automatically opened
Install the Matlab Packamanager MPM to get updates:
```
wget https://www.mathworks.com/mpm/glnxa64/mpm -P ~/.bin/
chmod +x ~/.bin/mpm
```
Usage:
```
mpm install --release= --destination= [--products]
# for example:
mpm install --release=R2022a --destination=/home/user/Programs/matlab --products MATLAB
```
## Current problems
All problems solved for now.
Version numbers seem to no longer be a problem