can't run the installer "zephyr-sdk-0.11.2setup.run"

Post Reply
rsato
Posts: 11
Joined: Fri May 15, 2020 6:03 am
Location: Japan

following the instruction on Working.with.Zephyr.pdf (Revision: 0.1.0) , but not able complete SDK install due to the syntax error as below.

please advise!!

ryo@ubuntu:~$ sudo wget https://github.com/zephyrproject-rtos/s ... 2setup.run
--2020-06-09 19:35:55-- https://github.com/zephyrproject-rtos/s ... 2setup.run
Resolving github.com (github.com)... 192.30.255.112
Connecting to github.com (github.com)|192.30.255.112|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘zephyr-sdk-0.11.2setup.run’

zephyr-sdk-0.11.2se [ <=> ] 82.58K 293KB/s in 0.3s

2020-06-09 19:35:56 (293 KB/s) - ‘zephyr-sdk-0.11.2setup.run’ saved [84563]

ryo@ubuntu:~$ ls
Desktop Downloads Pictures Templates zephyrproject
Documents Music Public Videos zephyr-sdk-0.11.2setup.run
ryo@ubuntu:~$ sudo chmod +x zephyr-sdk-0.11.2setup.run
ryo@ubuntu:~$ ./zephyr-sdk-0.11.2setup.run -- -d ~/zephyr-sdk-0.11.2
./zephyr-sdk-0.11.2setup.run: line 6: syntax error near unexpected token `newline'
./zephyr-sdk-0.11.2setup.run: line 6: `<!DOCTYPE html>'
ryo@ubuntu:~$
spingali
Posts: 10
Joined: Fri May 15, 2020 5:58 am

Looks like the file is not downloaded properly. The file name is "zephyr-sdk-0.11.2-setup.run". I see hyphen missing in your file name. The exact command is below:

Code: Select all

wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.11.2/zephyr-sdk-0.11.2-setup.run
Please try executing this command again and then try install.
rsato
Posts: 11
Joined: Fri May 15, 2020 6:03 am
Location: Japan

thank you
Post Reply