{"id":170,"date":"2008-10-07T19:55:48","date_gmt":"2008-10-07T18:55:48","guid":{"rendered":"http:\/\/www.walkingrandomly.com\/?p=170"},"modified":"2008-10-07T19:55:48","modified_gmt":"2008-10-07T18:55:48","slug":"matlab-2008a-installation-problem-on-ubuntu-804","status":"publish","type":"post","link":"https:\/\/walkingrandomly.com\/?p=170","title":{"rendered":"MATLAB 2008a installation problem on Ubuntu 8.04"},"content":{"rendered":"<p>So..I finally get hold of a standalone copy of MATLAB 2008a and set about installing it on my Ubuntu laptop.  I have installed MATLAB literally hundreds (if not thousands) of times so this is going to be easy.  Right?  Wrong!<\/p>\n<p>I am using the installation DVD which is mounted at \/media\/cdrom0 so I type the following into the bash command prompt:<\/p>\n<p><strong> \/media\/cdrom0\/install <\/strong><\/p>\n<pre>bash: \/media\/cdrom0\/install: \/bin\/sh: bad interpreter: Permission denied<\/pre>\n<p>gah! OK, no problem &#8211; I&#8217;ve seen this before so I type<\/p>\n<p><strong>sh  \/media\/cdrom0\/install <\/strong><\/p>\n<pre>\r\n-------------------------------------------------------------------\r\n\r\n    An error status was returned by the program 'xsetup',\r\n    the X Window System version of 'install'. The following\r\n    messages were written to standard error:\r\n\r\n        \/media\/cdrom0\/update\/install\/main.sh: 178:\r\n                 \/media\/cdrom0\/update\/bin\/glnx86\/xsetup: Permission denied\r\n\r\n    Attempt to fix the problem and try again. If X is not available\r\n    or 'xsetup' cannot be made to work then try the terminal\r\n    version of 'install' using the command:\r\n\r\n            install* -t    or    INSTALL* -t\r\n\r\n-------------------------------------------------------------------\r\n\r\n    Sorry! Setup aborted . . .<\/pre>\n<p>Permission denied? Ahh, I should have used sudo &#8211; silly me.  After all, if I don&#8217;t then I am going to run into trouble eventually. So I try<\/p>\n<p><strong>sudo sh  \/media\/cdrom0\/install<\/strong><\/p>\n<p>Same result as before it seems.  Let&#8217;s try the suggestion given by the install script and run the text only installer:<\/p>\n<p><strong>sudo sh  \/media\/cdrom0\/install* -t <\/strong><\/p>\n<p>I get asked if I want to agree to the license agreement before getting this error:<\/p>\n<pre>\/media\/cdrom0\/update\/install\/main.sh: 582: \/media\/cdrom0\/update\/bin\/glnx86\/xsetup: Permission denied<\/pre>\n<p>Before I rolled my sleeves up and got my hands really dirty I did some googling.  <a href=\"http:\/\/www.kluid.com\/mlib\/viewtopic.php?t=717\">This link<\/a> offers some advice &#8211; unmount and remount the DVD as follows:<\/p>\n<p><strong>sudo umount \/media\/cdrom0<br \/>\nsudo mount -o exec,suid \/dev\/scd0 \/media\/cdrom0<\/strong><\/p>\n<p>then run the installer again:<\/p>\n<p><strong>sudo sh  \/media\/cdrom0\/install<\/strong><\/p>\n<p>Success! Hope it worked for you too :)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So..I finally get hold of a standalone copy of MATLAB 2008a and set about installing it on my Ubuntu laptop. I have installed MATLAB literally hundreds (if not thousands) of times so this is going to be easy. Right? Wrong! I am using the installation DVD which is mounted at \/media\/cdrom0 so I type the [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5,11],"tags":[],"class_list":["post-170","post","type-post","status-publish","format-standard","hentry","category-linux","category-matlab"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p3swhs-2K","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/170","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=170"}],"version-history":[{"count":0,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=\/wp\/v2\/posts\/170\/revisions"}],"wp:attachment":[{"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=170"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=170"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/walkingrandomly.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=170"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}