Git Product home page Git Product logo

matlab_installer's Introduction

MATLAB Installer

Codacy Badge Maintenance made-with-bash MIT licensed Open Source Love svg3

Bash script to retrieve, install, and symlink various versions of MATLAB:

Version Release Name
MATLAB 9.0 R2016a
MATLAB 9.1 R2016b
MATLAB 9.2 R2017a
MATLAB 9.3 R2017b
MATLAB 9.4 R2018a
MATLAB 9.5 R2018b
MATLAB 9.6 R2019a
MATLAB 9.7 R2019b
MATLAB 9.9 R2020b
MATLAB 9.11 R2021b
MATLAB 9.13 R2022b

Also included: script to update stale network license strings.

Open to members of New York University's Center for Brain Imaging, Center for Neural Science, and Department of Psychology on the Meyer network.

Tested to run on GNU/Linux (Debian-based OSs) and currently-supported versions of macOS.

EZ Install

macOS: curl https://raw.githubusercontent.com/marshki/matlab_installer/master/src/macOS/macOS_installer.sh | caffeinate sudo bash

GNU/LINUX (Debian-based distros): wget https://raw.githubusercontent.com/marshki/matlab_installer/master/src/linux/linux_installer.sh && sudo bash linux_installer.sh

Getting Started

For sysadmins who want to replicate this process, we assume the following of you:

  • are affiliated with an institution that has a valid Total Academic Headcount License agreement with Math Works

  • may access a network license server to validate local MATLAB installs

  • can access a networked file server

  • deployed MATLAB locally on a macOS and/or GNU/Linux client

On your local client, tar up the MATLAB install with, e.g.:

tar czf matlab9.5.tgz matlab9.5

and place the file on your web server for distribution.

If needed, modify the installer script(s) to reflect your institution's environment.

For sysadmins AND end users:

Pre-flight checklist (the script will check for the following conditions):

  • root privileges

  • adequate free disk space (30 GBs)

  • curl or wget

  • access to the the appropriate local network

NOTE: If you want the TUI version, you'll need to add the dialog package via Apt with:

apt-get install --yes dialog prior to executing the script.

Liftoff:

Grab the script for your OS from /src in this repository, then, with elevated privileges, call the script (caffeinate will prevent macOS from going to sleep during the installation):

  • sudo bash linux_installer.sh (Linux), or: caffeinate -i sudo bash macOS_installer.sh (macOS) to auto-install the most recent version of Matlab.

  • caffeinate -i sudo bash macOS_multi_installer.sh (macOS) will launch a text-based menu. From there, follow on-screen prompts:

Alt text

  • bash linux_installer_tui.sh (Linux) will launch a text-based user interface and do the driving for you:

Alt text|Alt text

History

v.0.4 04-SEPT-2021

License

LICENSE.

Acknowledgments

wget + dialog progress bar built off of gist from here.

matlab_installer's People

Contributors

marshki avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ayoub-fork

matlab_installer's Issues

matlab.tgz Should Reflect MATLAB Version Number

If there's already a matlab.tgz in /Applications there's potential for conflict. Not much work to have curl, tar and rm preserve the version number of MATLAB rather than using the generic name. Need to confirm what actually happens before addressing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.