Subarata Talukder
Subarata Talukder

Reputation: 6331

Sencha command not found in ubuntu 16.04 LTS

First I downloaded sencha CMD and changed the mode

sudo chmod +x SenchaCmd-6.5.1.240-linux-amd64.sh

Then I ran the installer

sudo ./SenchaCmd-6.5.1.240-linux-amd64.sh

I installed sencha CMD to the "/opt/" location and also I added path variable like.

export PATH=$PATH:/opt/Sencha/Cmd/6.5.1.240/bin

and also

export PATH=$PATH:~/opt/Sencha/Cmd/6.5.1.240/bin

But when I type sencha in my terminal it shows me "sencha: command not found"

Even I exported both path to $HOME/.bashrc file but nothing worked. So what can I do? One thing, If I go to this /opt/Sencha/Cmd/ directory location and run this command

sudo ./sencha 

It works, that's mean sencha is run.But It dose not work outside from the directory. Please help me.

I also visited:

Sencha CMD Linux command not found

https://docs.sencha.com/cmd/guides/intro_to_cmd.html#intro_to_cmd_-_command_not_found

Upvotes: 0

Views: 1659

Answers (1)

Steve W
Steve W

Reputation: 1110

on my machine, there is no binary in the bin folder. it's buried deep in directories. try

export PATH=$PATH:/opt/Sencha/Cmd/6.5.1.240

without the bin and see if it works. there should be a symlink to sencha in that folder.

Upvotes: 0

Related Questions