LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-29-2005, 01:52 PM   #1
pkuer
Member
 
Registered: Jul 2004
Posts: 37

Rep: Reputation: 15
Debian software link problem


I have a Debian OS and just installed Matlab under it.
The installation place is /user/local/Matlab7/
The installation is finished and I can use it. BUt the problem is that I can only start it at /user/local/Matlab7/bin by typing ./matlab
I hope I can run this command at anywhere.
SO I tried to modified the .bash_profile file under my home directory.
And the file looks like:

# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

umask 022


PATH=$PATH:/user/local/matlab7/bin

# the rest of this file is commented out.

# include .bashrc if it exists

#if [ -f ~/.bashrc ]; then
# source ~/.bashrc
#fi

# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi

# do the same with MANPATH
#if [ -d ~/man ]; then
# MANPATH=~/man:"${MANPATH}"
#fi

I restart my box but this doesnot work.
How can I do this? Thanks
 
Old 06-29-2005, 02:44 PM   #2
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
did you try "/usr/local/matlab7" instead of "/user/local/matlab7" ?
 
  


Reply



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
D-link DWL-G520 Debian LinAck Linux - Wireless Networking 1 08-12-2005 03:51 PM
which link shld i use to download debian image? solutionseeker Linux - Newbie 12 01-12-2005 06:02 PM
Link map software kevinatkins Linux - Software 0 01-10-2005 09:08 AM
Debian sarge netinstall software raid major problem araldit Linux - Newbie 0 07-22-2004 05:58 PM
Oracle and Debian useful link GAVollink Debian 1 02-08-2004 02:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:44 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
Open Source Consulting | Domain Registration