1 :date: 2012-05-31 22:16:00
2 :tags: debian, neuroscience, software, matlab, multiarch,
4 .. _chap_matlab_64bit_on_32bit:
7 Running 64bit Matlab on 32bit host OS
8 =====================================
10 Some of you have been impacted by the recent decision of Mathworks to
11 drop 32-bit Linux builds of their products (i.e. Matlab R2013a and
12 co.). So that you do not feel particularly bad about it -- this is
13 not a novel move by Mathworks. In 1998 PowerPC builds for Macs were
14 abandoned as well, bringing a `furious reaction
15 <http://www.mathworks.com/matlabcentral/newsreader/view_thread/5910>`__
18 Luckily enough users of Debian (and its derivatives) who still use
19 32bit OS on 64bit capable systems can take advantage of rolled out in
20 recently released Wheezy `multiarch
21 <http://wiki.debian.org/Multiarch>`_ support. Multiarch allows to
22 install and run multiple user-level builds (e.g. i386 and amd64) on a
23 hardware/kernel capable to support both.
25 Below we describe how you could take advantage of multiarch support
26 and in few simple steps prepare your 32bit user-land for running 64bit
33 - [2-10 min] Install 64-bit kernel and reboot::
35 sudo apt-get install linux-image-amd64
37 - [1-3 min] Enable multi-arch support for amd64 architecture::
39 sudo dpkg --add-architecture amd64
42 - [1-5 min] Install 64bit libraries needed for matlab::
44 sudo apt-get install libstdc++6:amd64 zlib1g:amd64 libncurses5:amd64 \
45 libxp6:amd64 libstdc++6-4.4-dev:amd64 libxt6:amd64 libxmu6:amd64 libxtst6:amd64
47 Now your 64bit matlab (which hopefully you "registered" with
48 :ref:`matlab-support <binary_pkg_matlab-support>` package) should be ready to run.
50 If you have any comments (typos, improvements, etc) -- feel welcome to
51 leave a comment below, or `contact us`_ .
53 .. _contact us: http://neuro.debian.net/#contacts