Ubuntu :: MATLAB Installation - Adding Directory To $PATH
May 27, 2010
I've followed the guide here for installing MATLAB. The installation completed successfully, however, the launcher created doesn't launch MATLAB as MATLAB isn't installed anywhere pointed to by $PATH. What's the best way of solving this - adding MATLAB's directory to $PATH (in which case how do I go about doing so), or (re)installing MATLAB to somewhere already in $PATH?
View 2 Replies
ADVERTISEMENT
Apr 2, 2009
I have made the installation of Qt4 in my Fedora/MacBookPro. It also got a first compiling and running a simple program. The point is that for the compiler to run I need to point out every time where the bin is located, as that:
$ /home/threader/kinetic/bin/qmake -project
I have tried the following, but it still doesn't work:
# script
#-----------------------------------------------------------#
# /etc/bashrc or /home/threader/.bash_profile
# config to Qt compiler
[code]....
View 5 Replies
View Related
Jun 14, 2011
When I add some path in .bashrc by commenting out old path and adding new one like this:
#EXPORT HOME_PLAY=/home/gem/old_play
EXPORT HOME_PLAY=/home/gem/play
EXPORT PATH=$PATH:HOME_PLAY
After saving above changes, I enter the command: source ~/.bashrc Now if I do echo $PATH, the path shows both the old PLAY_HOME and new PLAY_HOME. This is really bad and messes up a lot of things in my project. This problem only goes away if I logout or reboot, a rather very long process. What is happening is that the old path is added to new path element and the old path includes the old path element you want to remove.
View 10 Replies
View Related
Aug 27, 2010
Quote:
Select a starter package from the table at the top of this page and download it to your development computer. To install the SDK, simply unpack the starter package to a safe location and then add the location to your PATH.How do I add a location to PATH?
View 1 Replies
View Related
Feb 17, 2010
I just downloaded intel's fortran compiler, ifort. However, I seem to have to add it to path for every single terminal I open using:
Code:
source <install-dir>/bin/ifortvars.sh <arg>
I immediately think that there should be a way of doing this automatically at startup. However, this isnt just pointing to where ifort is, but running a shell script, which evidently only affects a single terminal session.
View 5 Replies
View Related
Mar 2, 2011
I've noticed that the root account $PATH does not include /usr/local/bin or /usr/local/sbin by default. Are there any potential issues that could arise from adding those directories to the path? If so, what is the best way to make sure your shell finds executables in those directories, without affecting the stability and security of the system?
View 2 Replies
View Related
Aug 20, 2010
I have added the smbd file location to the path of root. I can now execute it from any location. I noticed after reboot of the machine (RHEL 5) that this file location is no longer in the path. How do I make this permanent?
View 1 Replies
View Related
Aug 3, 2010
I've installed rubygems on ubuntu, but it has a known issue that the rubygems' bin/ directory is not in the PATH. I know about exporting the PATH variable, and adding it to .bashrc, but I'd like to configure it so that every user has it on his PATH, even if he tries to run it with sudo. Where should I export the PATH variable then?
View 2 Replies
View Related
Apr 14, 2010
I've installed MatLab in my Acer Aspire one netbook which runs karmic. Does anyone know what can cause this error message from appearing when i click on the icon? Could not launch 'MATLAB R2009a' Failed to execute child process "matlab" (No such file or directory)
View 1 Replies
View Related
Dec 8, 2010
After trying to add a directory to the PATH, I get the message that the folder doesn't exist.
Code:
View 4 Replies
View Related
Feb 3, 2010
I thought i'd set up the partitions correctly when i installed ubuntu, with a 15 gig "/" partision and a 45 gig "/home" and a 3.8gig "swap"
I was wrong i somehow misplaced the /home partition, and therefore didn't install it
I found this out about 4 days ago as i was running though video tutorial and realized i didnt have it setup correctly afterall
So... i did some research and found this site...[url] and i found something that seemed to work for various people, i deleted the 'now' windows partition and so i had this:
However i unmounted the /home folder following the instructions without realizing that i didnt have permissions to mount the /new home partition as it is not in the extended ubuntu 9.04 linux partition and i have no rights to it
So my question is, how do i fix the path to the /home folder (original) in ubuntu so that i can start over and do this correctly (ie; resize the extended partition and add the /newhoe directory/patition to ubuntu)
I realize that i can use a sudo command before lines to run su commands that are blocked in ubuntu, which is how i screwed up =
I cannot use anything in the menu as all links to programs are dead, i can run the add app, but it cannot install as the install folders are "not there"... i can see them in the terminal so i know my data is there and i can run the live disc to salvage it, but i cannot see it while ubuntu is loaded
Note; i have not restarted the computer and i don't know if this will block ubuntu from restarting either, so i need to fix via terminal, before i can do anything else, like letting the laptop rest.
View 5 Replies
View Related
Feb 13, 2010
I need to add a directory to path in ubuntu. The directory I want to add is on Windows drive .If I try to add a directory , lets say "some directory" to path , then on adding I get following error. The directory resides on HD.
user@user-desktop:~$ PATH=$PATH:/media/New Volume/some directory/javacc-5.0/bin
bash: Volume/some: No such file or directory.
------------------------------------------------------------------------------------------------------------
[code]....
View 1 Replies
View Related
Apr 13, 2010
I was wondering if we could cd in the directory of the PATH variable. For example, if I type in echo $DISPLAY. It will give me /tmp/launch-3ee4fg/org.x:0
Is there any way that I can just take the value '/tmp/launch-3ee4fg/' from the output of $DISPLAY and exclude out the filename to the end of the command. I tried using the read command and the IFS variable..apparently IFS does not recognise / I guess.
View 2 Replies
View Related
Mar 28, 2010
I'm trying to configure Freevo and can seem to find this directory "~/.freevo/local_config" .
My question is what does the Dot mean before freevo in the path ? and where is it pointing to I'am looking in the home directory but not seeing it ?
View 3 Replies
View Related
Feb 25, 2011
I,m having a rough time getting the terminal environment to recognize my android debug bridge path (which is set in a separate hdd) I used to paste this in my bashrc, but then found that it would make the env system bonkers whenever i attempted sudoing with an option:
# Android Debug Bridge (ADB) sdk path
alias sudo='sudo env PATH=$PATH'
export PATH=${PATH}:/media/Disk/Linux/Android/sdk/platform-tools/
The "alias" line was the one making me have a rough time with env.
Now that i got rid of it everything is well but adb's path isn't exported anymore.
[Code]...
View 3 Replies
View Related
Feb 18, 2011
I installed java in my pc by running the following on the shell
./jdk-6u24-linux-i586.
I need to set the path to the bin directory and also a new environmental variable JAVA_HOME.
View 2 Replies
View Related
Jul 22, 2010
I've been trying to install Matlab r2008b but with no sucess.here are the commands i ran.
sudo mkdir /usr/local/matlabR2008b
cd /usr/local/matlabR2008b/
copied my files to tmp folder and run
sudo sh /tmp/MATHWORKS_R2008B/install
here is what i get at the terminal
Code:
An error status was returned by the program 'xsetup', the X Window System version of 'install'. The following messages were written to standard error:
/tmp/MATHWORKS_R2008B/update/install/main.sh: 178: /tmp/MATHWORKS_R2008B/update/bin/glnxa64/xsetup: Permission denied
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
-------------------------------------------------------------------
Setup aborted . . .
when i run install* -t i get
Code:
awk: cmd. line:2: BEGIN { found = 0; extra = 9; min = 24; default = 24 }
awk: cmd. line:2: ^ syntax error
awk: cmd. line:6: if (nrows < min) nrows = default
[code].....
View 1 Replies
View Related
Nov 20, 2009
I'm trying to write a script in python to extract data from maillogs in gz format. I wrote a shell script but i now want to do this in python, as thats the preferred method where i work. anyway does anyone know how to specify directory paths for example the maillogs exist in /var/log so i want the script to go to that directory would LOG_DIR="/var/log/" work?
View 1 Replies
View Related
Nov 8, 2010
I am using Apache/2.2.3 on Centos 55. I am having an issue that is pretty strange to me. Whenever I navigate to a url on my webserver from outside my network. I have to put a '/' in the directory path for example When I type in: mydomain.com/directory1 it winds up redirecting to the hostname for my server HOWEVER When I type in mydomain.com/directory1/ it works, since I am adding the '/' at the end of the path. I suspect it is because I do not have my FQDN set up correctly.I did not have this issue when I was using Ubuntu 10.04 , I suspect because Ubuntu automagically set this up for me. Is there a particular way I need to setup my FQDN in centos to get this to work properly? I have tried going into /etc/hosts and adding my FQDN in there, but I do not think I did it properly, is there a particular way the /etc/hosts file needs to be setup?
View 1 Replies
View Related
Sep 12, 2010
I'm trying to compress with zip for linux utility a file
Is need to be done (example):
But I would like that in the zip file there is only one file: source.file instead the whole directory path /usr, /src,... and the file.
I can't move up to the directory /usr/src/ to execute the command.
I must do this from / directory.
If this possible? I Windows systems even if I do the zip C:directory1directory2source.zip C:directory1directory2source.file, it does what I need: a Zip in directory2 with just the file source.file.
I've been looking up the man page for zip, but did not find anything useful, tried, -j, -D with no success.
View 1 Replies
View Related
Apr 21, 2010
I am working on getting my software packages installed on my fresh Slackware64-13.0 installation. Some (but definitely not all) of my executables are unable to be run.
I understand what PATH is for. It is for locating files, folders, executables in those directories when running from a Terminal window.
So, for example, I have just installed Cisco VPN Client for Linux, and it is the strangest thing. I should have access to this. I must not be understanding something here. Does anyone have any idea why this is not working for me? I have put in an example of what I am talking about.
I have no idea why this is not working.
View 9 Replies
View Related
Apr 17, 2011
When i create a new user i want this user to have a public_html directory created in their home.
View 5 Replies
View Related
Apr 21, 2010
I have a Dell Studio 1749 and am having problems installing MATLAB on Ubuntu 9.10 Karmic Koala. After putting in the DVD, I start the installation script:
Code:
/media/cdrom/install_unix.sh
and I get the message:
Code:
An error status was returned by the program 'xsetup', the X Window System version of 'install'. The following messages were written to standard error:
/media/cdrom0/unix/update/install/main.sh: 178: /media/cdrom0/unix/update/bin/glnxa64/xsetup: not found. 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
Sorry! Setup aborted . . .
View 8 Replies
View Related
Apr 23, 2010
I have installed matlab 7.9 in ubuntu 9.10. I tried to launch it on the desktop using launcher. But as I double click on it it flashes but its not opening. After seeing previous posts somewhere it is given that matlab-desktop should be used. But I am not clear where to use it. How to create a desktop icon for matlab. It got solved by adding -desktop at the end of command.
View 2 Replies
View Related
Jun 22, 2010
I am new in ubuntu 10.4 and want to install matlab 2009a on it. but the problem is that for the first time i use linux and ubuntu. if there is any way without using the terminal.
View 2 Replies
View Related
Oct 14, 2010
i needed a new harddrive and installed a new system (10.04 - previously 8.04) on it.one of the things i wanted to install is matlab, however the installer doesn't do anything. I used the same iso image before on 8.04 and the install went smoothly.i cant even get it to display the options.so i untared all matlab related files out of my 8.04 backup.can i just copy those files to the right places in my new system? guess not,but maybe there aren't that many things to modify.
View 9 Replies
View Related
Oct 18, 2010
I have never installed anything on Ubuntu from files, and I do not know how to do it. There are have been internet pages I have visited, but each one tells you to do it in a different method, and each one is more complicated that the last. So, I was wondering if anyone knows the simplest way of installing Matlab -
I have these files:
Code:
View 9 Replies
View Related
Feb 2, 2011
I have downloaded iso image of matlab provided by my school. As I mount the image using gmount, I saw number of files. One of the file name is 'install'. I imagine this is the file which will initiate the installation process, but don't know how to use it. Do I have to go to the mount folder in terminal and type sude install ?
View 1 Replies
View Related
Apr 11, 2009
I am programming in bash and really stuck finding directory names. I have a script to find all the .php files on my / partition which will return the whole path. Is there a way to print directory hierarchy with all those values leaving out the forward slashes.
View 10 Replies
View Related
May 21, 2010
Very new to this shell scripting/Linux scripting.
subject_dir=/labs/tricam/MERIT/MERIT_0*
for subject in `ls $subject_dir` ; do
if [ ! -d $subject_dir/$subject/feat/glm2010/doublegz/SRRTA.feat ] ; then
[code]....
View 1 Replies
View Related