Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-23-2006, 08:24 AM
|
#1
|
Member
Registered: Mar 2006
Posts: 71
Rep:
|
command not found error
Hi,
I'm trying to install Maya (a 3d package,which is a RPM file).I've converted it to a tgz file by using rpm2tgz.The installation went fine,without any errors,but when I type maya into a terminal to launch the app I get this error:
Code:
bash: maya: command not found
I've tried with typing Maya (capital first letter),but I get the same error.I've tried installing it using rpm -U --nodeps .... it went fine without any errors,but I get the same error when typing maya in a tyerminal.Does anyone know how to solve this?
kind regards
_deelk
|
|
|
04-23-2006, 09:43 AM
|
#2
|
Member
Registered: May 2004
Location: Iowa USA
Distribution: CentOS
Posts: 419
Rep:
|
Try the command
which maya
and see where it is installed. Then make sure that path is in your bash profile's $PATH.
|
|
|
04-23-2006, 09:44 AM
|
#3
|
Member
Registered: Oct 2003
Location: New York
Distribution: Debian Sid
Posts: 185
Rep:
|
Try 'apropos maya', 'which maya', or even 'find / -name maya' to look for files related to maya.
|
|
|
04-23-2006, 10:07 AM
|
#4
|
Member
Registered: Mar 2006
Posts: 71
Original Poster
Rep:
|
It is installed in /usr/aw/maya7.0
In /usr/aw/maya/bin there is a ''c shell script text executable'' file named Maya7.0
What do I have to do now?Please explain it step by step,I'm pretty new to linux.
Thanx in advance
|
|
|
04-23-2006, 10:44 AM
|
#5
|
Member
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512
Rep:
|
All the places that will be searched for commands are in the PATH environment variable.
You can add a symlink in /usr/bin:
Code:
ln -s /usr/aw/maya/bin /usr/bin
Or you can add /usr/aw/maya/bin to your PATH. In the file /home/<username>/.bashrc, add:
Code:
export PATH=/usr/aw/maya/bin:$PATH
|
|
|
04-23-2006, 11:34 AM
|
#6
|
Member
Registered: Mar 2006
Posts: 71
Original Poster
Rep:
|
Quote:
Originally Posted by merchtemeagle
All the places that will be searched for commands are in the PATH environment variable.
You can add a symlink in /usr/bin:
Code:
ln -s /usr/aw/maya/bin /usr/bin
Or you can add /usr/aw/maya/bin to your PATH. In the file /home/<username>/.bashrc, add:
Code:
export PATH=/usr/aw/maya/bin:$PATH
|
I haven't got .bashrc in my home folder (I have show hidden fils turned on).So I'm going to try the another option.
Code:
ln -s /usr/aw/maya/bin /usr/bin
How do you type that fist character,so that one that looks like a 1?
I can't copy past.
|
|
|
04-23-2006, 11:47 AM
|
#7
|
Member
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512
Rep:
|
Quote:
Originally Posted by Deelk
I haven't got .bashrc in my home folder (I have show hidden fils turned on).So I'm going to try the another option.
|
You can just make one if it doesn't exist.
Quote:
Originally Posted by Deelk
Code:
ln -s /usr/aw/maya/bin /usr/bin
How do you type that fist character,so that one that looks like a 1?
I can't copy past.
|
It's a lowercase L.
|
|
|
04-23-2006, 12:11 PM
|
#8
|
Member
Registered: May 2005
Location: Winnipeg, Canada
Distribution: mostly mepis
Posts: 427
Rep:
|
Damn, I had a great link about this, but can't find it right now. You will need to create the hidden files in your /home directory. This link may help
http://www.dualisanoob.com/slack_102_tips.txt
best I could find at the moment.
|
|
|
04-23-2006, 01:07 PM
|
#9
|
Member
Registered: Mar 2006
Posts: 71
Original Poster
Rep:
|
Quote:
Originally Posted by merchtemeagle
You can just make one if it doesn't exist.
It's a lowercase L.
|
I created that file and put export PATH= bla bla in it,but it still doesn't work,I still get the same error.The second option didn't work either,I get this error if I type that command into the terminal:
Code:
ln: `/usr/bin/bin': File exists
|
|
|
04-23-2006, 01:14 PM
|
#10
|
Member
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512
Rep:
|
Ow, sorry, my mistake. That should not be 'ln -s /usr/aw/maya/bin /usr/bin' but
Code:
ln -s /usr/aw/maya/bin/maya /usr/bin/maya
Last edited by merchtemeagle; 04-23-2006 at 02:39 PM.
|
|
|
04-23-2006, 02:37 PM
|
#11
|
Member
Registered: Oct 2003
Location: New York
Distribution: Debian Sid
Posts: 185
Rep:
|
Are you running (typing) 'Maya7.0' (capital 'M', '7.0' from the command line, like this:
$ Maya7.0
|
|
|
04-23-2006, 03:09 PM
|
#12
|
Member
Registered: Mar 2006
Posts: 71
Original Poster
Rep:
|
Quote:
Originally Posted by merchtemeagle
Ow, sorry, my mistake. That should not be 'ln -s /usr/aw/maya/bin /usr/bin' but
Code:
ln -s /usr/aw/maya/bin/maya /usr/bin/maya
|
I still get the same error.
|
|
|
04-23-2006, 03:12 PM
|
#13
|
Member
Registered: Mar 2006
Posts: 71
Original Poster
Rep:
|
Quote:
Originally Posted by celejar
Are you running (typing) 'Maya7.0' (capital 'M', '7.0' from the command line, like this:
$ Maya7.0
|
That's it!Sorry for starting this topic,on other distros I've tried the command was just maya.The command works,but I get a dependency error.I will firstly google a bit for the dependency problem,if I don't find a solution I will open a new topic.I want to thank you alll a bunch!This really is a great community.
Edit:
I've succesfully installed the dependency in no-time.Thanx again guys,you really helped me alot.
Last edited by Deelk; 04-23-2006 at 03:20 PM.
|
|
|
All times are GMT -5. The time now is 10:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|