LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   where is my installed program in ubuntu? (https://www.linuxquestions.org/questions/linux-newbie-8/where-is-my-installed-program-in-ubuntu-710809/)

nahid.a 03-11-2009 12:31 PM

where is my installed program in ubuntu?
 
i install matlab software in ubuntu and now i don't find it, where is it?

TB0ne 03-11-2009 12:59 PM

Quote:

Originally Posted by nahid.a (Post 3472066)
i install matlab software in ubuntu and now i don't find it, where is it?

How should we know? YOU installed it.

Did you install it via RPM? Build from source? Did you specify an alternate install directory? Install it system-wide or just for your user? You don't say, and we can't guess.

Try doing "find / -name matlab".

openSauce 03-11-2009 01:16 PM

Just a guess since you're a newbie... have you tried opening a terminal and typing 'matlab' at the command line?

pixellany 03-11-2009 01:21 PM

The normal place for User Programs is in /usr, but some systems will use /opt

I use /opt only for things that I install manually. When I use the package manager, I take the defaults.

TBone has the answer---the "find" command, but here's a tip:
Always search for something using wildcards and quotes---like so:

find <dirname> -name "*matlab*" ## this gets you any file or directory name containing "matlab". I'm fuzzy on why the quotes are needed--I just do it because it seems to work more consistently.

QueenZ 03-11-2009 02:07 PM

Wait a second.. wasn't there a command that can tell the path of a program..? I think i read that somewhere.. just can't remember..

T74marcell 03-11-2009 02:09 PM

You can also try
Quote:

which matlab
on a shell. Or run
Quote:

matlab --help
and see if it is installed at all.

Arch Linux

Nylex 03-11-2009 02:09 PM

Quote:

Originally Posted by QueenZ (Post 3472212)
Wait a second.. wasn't there a command that can tell the path of a program..? I think i read that somewhere.. just can't remember..

You can use "which", if the executable is in one of the directories listed in your $PATH.

QueenZ 03-11-2009 02:12 PM

Quote:

Originally Posted by Nylex (Post 3472217)
You can use "which", if the executable is in one of the directories listed in your $PATH.

oh, now i remember. I thought which worked even if the executable wasn't in one of the path directories..

openSauce 03-11-2009 02:14 PM

Quote:

Originally Posted by pixellany (Post 3472149)
find <dirname> -name "*matlab*" ## this gets you any file or directory name containing "matlab". I'm fuzzy on why the quotes are needed--I just do it because it seems to work more consistently.

Without quotes, the shell expands *matlab* to either:
  • all files in the current directory with "matlab" in the name
  • or the literal string *matlab* if no such files exist.
It then passes the result to find. The latter is what you want, and you can force the shell not to expand the *'s by using quotes.

knudfl 03-11-2009 02:34 PM

If the package is a Debian package, ( matlab_x.x.deb ) :

Get a file list ( from an already installed package )
with the command 'dpkg -L matlab'

If you have the package present : 'less <package>'

.....

nahid.a 03-16-2009 05:46 AM

Quote:

Originally Posted by openSauce (Post 3472141)
Just a guess since you're a newbie... have you tried opening a terminal and typing 'matlab' at the command line?

of course rude.

openSauce 03-16-2009 05:57 AM

Quote:

Originally Posted by nahid.a (Post 3476879)
of course rude.

Not at all - you didn't give much info in your OP and it wasn't clear if you were asking:
a) I just installed Matlab and can't start it because it doesn't appear in the Applications menu, or:
b) I just installed Matlab and want to know where in the filesystem the binaries and other files are located.

(a) is a perfectly plausible (and sensible) question for someone used to having all programs in the start menu a la Windows/Mac OS. I guessed that might be what you meant and tried to help out (calling someone a newbie is no insult - we've all been there, I've still got quite a few newbish tendencies myself).

Have you found it yet?

nahid.a 04-13-2009 07:28 AM

i want a english to persian dictionay, can u help me where i can find it?

knudfl 04-14-2009 12:45 AM

  • Try entering this in Google : english to farsi
  • or .. english to persian dictionary
  • and get some online dictionaries ( 9 million hits.)
examples, page 1
http://www.aryanpour.com/
http://www.farsisites.com/english-farsi-dictionary/
http://www.iranmehr.com/dictionary/
.....


All times are GMT -5. The time now is 12:24 AM.