LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2011, 04:36 AM   #1
hitmen
Member
 
Registered: Jun 2011
Distribution: Kubuntu 10.04
Posts: 158

Rep: Reputation: Disabled
Application Unable To Access Folder /usr/local/MATLAB/R2011a


Q1 My matlab installation points to the above path for installation. However, it cannot access the folder even AFTER I created it:

mkdir MATLAB
cd MATLAB
mkdir R2011a


Q2. Instead of the above commands, can I create 2 folders simultaneously using 1 command? mkdir MATLAB/R2011a doesnt work.
 
Old 09-10-2011, 04:44 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What do you mean you can't access the directory? You need to show error messages and explain the problem in more detail. Are you doing this as root (or with sudo)?

If you want to create a directory and then one inside it in a single command, use mkdir's -p option. The man page would have told you that..

Last edited by Nylex; 09-10-2011 at 04:56 AM.
 
Old 09-10-2011, 05:04 AM   #3
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
That folder is not in your home directory, therefore you don't have rights to modify it if you aren't running the installer as root. Try running the installer with root privileges and see what happens.
 
Old 09-10-2011, 06:57 AM   #4
hitmen
Member
 
Registered: Jun 2011
Distribution: Kubuntu 10.04
Posts: 158

Original Poster
Rep: Reputation: Disabled
Although I have installed my program, can you teach me how to do it?
I simply double clicked on install.sh.

Is the terminal method: sudo install.sh ????
 
Old 09-10-2011, 07:10 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Surely MathWorks provide documentation for installing MATLAB? You need to read that..
 
Old 09-10-2011, 07:28 AM   #6
Ian John Locke II
Member
 
Registered: Mar 2008
Location: /dev/null
Distribution: Slackware, Android, Slackware64
Posts: 130

Rep: Reputation: 17
I've installed MATLAB on Slackware a couple times. Try opening a terminal, running ./install.sh -h or ./install.sh help and read what they tell you. It should have error'd out if you didn't run it as root. You can do
ls /use/local/MATLAB/R2011a
To see if anything is even there. If there is anything there, run the above with -l to check the permissions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to access /usr/local directory vinaytp Linux - Newbie 20 02-18-2011 02:40 AM
[SOLVED] Kickoff Application Launches from /usr/bin rather than /usr/local/bin Tim Johnson Slackware 2 05-26-2010 09:36 PM
cant modify /usr/local/bin folder surgey Linux - Newbie 4 05-10-2005 05:52 PM
can't copy folder to usr/local ontwolf Linux - Hardware 5 04-23-2004 12:56 PM
/usr/local folder contents accidently deleted jshaikh Linux - Newbie 1 07-12-2003 01:55 PM


All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration