Page 1 of 6 123 ... LastLast
Results 1 to 10 of 56

Thread: Matlab 7 R14.3 install on Ubuntu 32bit

  1. #1
    Join Date
    Sep 2005
    Location
    East Coast, USA
    Beans
    246
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Matlab 7 R14.3 install on Ubuntu 32bit

    0. Insert Matlab disk one.

    1. Create installation directories, copy license. Note- what directory you run in matters!

    mkdir ~/matinst
    cd ~/matinst
    sudo mkdir /opt/matlab7
    sudo cp license.dat /opt/matlab7
    2. Copy installation CD to install directory

    (cd /media/cdrom0; tar cvf - .) | tar xvf -


    3. Edit install (kate install, emacs install, vi install).

    emacs ./install&

    4. Go to line 697 (Ctrl-X G 697) Comment line 697, Add line with kernel version number. When done it should look like this:

    # ver=`/lib/libc.so.6 | head -n 1 | sed -e "s/^[^0-9]*//" -e "s/[ ,].*$//"`
    ver="2.6.10"

    5. Run install. Install to /opt/matlab. Let install script create links
    in /usr/local.

    sudo sh -c ./install

    6. Edit /opt/matlab7/bin/util/oscheck.sh

    sudo chmod 755 /opt/matlab7/bin/util/oscheck.sh
    emacs /opt/matlab7/bin/util/oscheck.sh&

    Make the same change as step #3.


    7. Run:

    /opt/matlab7/etc/lmstart

    8. If license manager starts OK, run matlab.

    9. Clean-up install directory:

    rm -fr ~/matinst

    10. Enjoy!

    HF
    Last edited by hangfire; November 16th, 2005 at 11:41 PM.

  2. #2
    WW is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Oct 2004
    Beans
    1,532

    Re: Matlab 7 R14.3 install on Ubuntu 32bit

    Thanks for posting this. I just installed matlab *before* I found this! I followed the standard instructions, and matlab seems to work. I'm guessing that if I first made the changes you described, I wouldn't get the error "/opt/matlab_rel14_sp3/bin/util/oscheck.sh: line 134: /lib/libc.so.6: Permission denied" that occurs each time I start matlab. I had this problem in warty, too, but matlab seemed to work anyway, so I ignored it. Is the problem just cosmetic?

    The kernel in breezy is 2.6.12, so should your change now be ver="2.6.12"?

    Also, I haven't (yet) installed java, but matlab seems to be working. Why do you say to install java first?
    Last edited by WW; October 14th, 2005 at 11:14 PM.

  3. #3
    Join Date
    Sep 2005
    Location
    East Coast, USA
    Beans
    246
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Matlab 7 R14.3 install on Ubuntu 32bit

    Thanks, I'm glad someone is reading my HOWTO.

    To answer your questions,

    My install bombed out completely before I fixed the oscheck line. I think all it wants out of "ver" is a number bigger than 2.4.Something. Heck, it might not even be a kernel number but a library version number. I just swagged something and it worked.

    Java is supposed to be a requirement of Matlab. I happened to already have Sun Java installed. Perhaps Ubuntu already has java, or its a psuedo-requirement held over from the Windows version. If I have a chance to look at it or re-install it on Breezy, (or someone else can shed light) I'll update the HOWTO.

    HF

  4. #4
    Join Date
    May 2005
    Location
    Sofia, Bilgaria
    Beans
    16

    Re: Matlab 7 R14.3 install on Ubuntu 32bit

    Thanks for the howto. I'll try it out and if it works with BreezyI'll be twice as thankful

  5. #5
    Join Date
    Aug 2005
    Location
    Boston, MA
    Beans
    50
    Distro
    The Feisty Fawn Testing

    Re: Matlab 7 R14.3 install on Ubuntu 32bit

    MATLAB uses its own built-in java so an external jvm is not required. As for the libc error you can just ignore it. It has no affect on the running of MATLAB, it is only a glibc check on startup which fails becuase of the debian permission schema.

  6. #6
    Join Date
    Sep 2005
    Location
    Cleveland, Ohio
    Beans
    346
    Distro
    Ubuntu 6.06

    Re: Matlab 7 R14.3 install on Ubuntu 32bit

    I just want to mention that I also installed MATLAB R14 on my ubuntu laptop. as far as the lib.so.6 error i got rid of it by rignt clinking on the library and enabling all the permissions. Now it starts without a single error.

  7. #7
    Join Date
    Sep 2005
    Location
    East Coast, USA
    Beans
    246
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Matlab 7 R14.3 install on Ubuntu 32bit

    Thanks for the feedback!

    Quote Originally Posted by n0ah420
    MATLAB uses its own built-in java so an external jvm is not required.
    Thanks, I fixed the HOWTO.

    Quote Originally Posted by n0ah420
    As for the libc error you can just ignore it. It has no affect on the running of MATLAB, it is only a glibc check on startup which fails becuase of the debian permission schema.
    It failed to start Matlab on my machine... As for changing its permissions, I read somewhere that this method of checking libraries is deprecated, and may go away soon. Recent distro's are shipping libs with execute turned off for that reason, to discourage the practice. So, I'm leaving the HOWTO that way to give it more staying power.

    Besides, I hate error messages.

  8. #8
    Join Date
    Jul 2005
    Beans
    14

    Re: Matlab 7 R14.3 install on Ubuntu 32bit

    x
    Last edited by lmp3; November 28th, 2005 at 12:40 AM.

  9. #9
    Join Date
    Aug 2005
    Beans
    40

    Re: Matlab 7 R14.3 install on Ubuntu 32bit

    When I try to instll Matlab I get following error message. I tried to find glibc 2.2.5 but to no avail. Perhaps someone here can provide some help. Or is it something else?
    I also trie it with install* -t

    ----------------------------------------------------------------------------
    Warning: glibc 2.2.4 - Your version
    glibc 2.2.5 - MATLAB built using this version
    ----------------------------------------------------------------------------


    ----------------------------------------------------------------------------
    Warning: glibc 2.2.4 - Your version
    glibc 2.2.5 - MATLAB built using this version
    ----------------------------------------------------------------------------

    /tmp/10855tmwinstall/update/install/main.sh: line 244: 10965 Speicherzugriffsfehler "$xsetup" $arglist 2>$tmp_file
    -------------------------------------------------------------------

    An error status was returned by the program 'xsetup',
    the X Window System version of 'install'. The following
    messages were written to standard error:


    Attempt to fix the problem and try again. If X is not available
    or 'xsetup' cannot be made to work then try the terminal
    version of 'install' using the command:

    install* -t or INSTALL* -t

    -------------------------------------------------------------------
    /tmp/10855tmwinstall/update/install/abort.sh: line 15: /tmp/10855tmwinstall/update/install/cleanup.sh: Datei oder Verzeichnis nicht gefunden
    Speicherzugriffsfehler = Memory Access Failure
    Datei oder Verzeichnis nicht gefunden = File Or Folder Not Found

  10. #10
    Join Date
    Nov 2005
    Location
    127.0.0.1
    Beans
    354
    Distro
    Ubuntu Development Release

    Re: Matlab 7 R14.3 install on Ubuntu 32bit

    hi,

    i tried to install matlab 7.01.r14.sp3

    i got it installed all well.. but it doesnt work
    i cant even find the matlab command in $matlab/etc.
    no link was created in /usr/local/bin eventho i said 'ok' when i asked in the gui.

    there is no lmstart script file in $matlab/etc either.... what is happening here?

    i changed the file permissions for lib stuff using chmod 755 ans so i didnt get an error...

    please help
    thanks

Page 1 of 6 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •