Mycroft Community Forum

Install on banana pi

Hi,
I’m trying to install the github version on my banana pi
I get as far as the skills setup section then it gives the following error

ln: failed to create symbolic link ‘skills’: Permission denied

I did come across a related post which mentioned that if I create the folder manually
then restart the installation to resolve this, but this didn’t work in my case

picroft isn’t an option since it’s not compatible with the banana pi

Can someone assist me in resolving this issue

best regards
pheonixfire

The problem here is that during installation, Mycroft creates a symbolic link to /opt/mycroft/skills from the skills directory in your install location. See below for an example:

kathyreid@kathyreid-zenbook-ux533fd:~/mycroft-core$ ls -las
total 156
 4 drwxr-xr-x 11 kathyreid kathyreid  4096 Dec  9 09:53 .
 4 drwxr-xr-x 43 kathyreid kathyreid  4096 Dec 12 17:13 ..
 4 -rw-r--r--  1 kathyreid kathyreid   235 Dec  9 09:42 ACKNOWLEDGEMENTS.md
 4 drwxr-xr-x  2 kathyreid kathyreid  4096 Dec  9 09:42 bin
 4 -rw-r--r--  1 kathyreid kathyreid  3218 Dec  9 09:42 CODE_OF_CONDUCT.md
 4 -rw-r--r--  1 kathyreid kathyreid    70 Dec  9 09:42 .coveralls.yml
 4 -rw-r--r--  1 kathyreid kathyreid    44 Dec  9 09:43 .dev_opts.json
20 -rwxr-xr-x  1 kathyreid kathyreid 18041 Dec  9 09:42 dev_setup.sh
 4 drwxr-xr-x  3 kathyreid kathyreid  4096 Dec  9 09:42 doc
 4 drwxr-xr-x  8 kathyreid kathyreid  4096 Dec  9 23:37 .git
 4 drwxr-xr-x  2 kathyreid kathyreid  4096 Dec  9 09:42 .github
 4 -rw-r--r--  1 kathyreid kathyreid   413 Dec  9 09:42 .gitignore
 4 -rw-r--r--  1 kathyreid kathyreid  1399 Dec  9 09:42 .gitmessage
 4 -rw-r--r--  1 kathyreid kathyreid   154 Dec  9 09:53 .installed
12 -rw-r--r--  1 kathyreid kathyreid 11733 Dec  9 09:42 LICENSE.md
 4 -rw-r--r--  1 kathyreid kathyreid   228 Dec  9 09:42 MANIFEST.in
 4 drwxr-xr-x 19 kathyreid kathyreid  4096 Dec  9 09:53 mimic
 4 drwxr-xr-x 22 kathyreid kathyreid  4096 Dec  9 09:53 mycroft
 4 -rwxr-xr-x  1 kathyreid kathyreid    67 Dec  9 09:42 .pep8speaks.yml
12 -rw-r--r--  1 kathyreid kathyreid  8397 Dec  9 09:42 README.md
 4 -rw-r--r--  1 kathyreid kathyreid   523 Dec  9 09:42 requirements.txt
 4 drwxr-xr-x  2 kathyreid kathyreid  4096 Dec  9 09:42 scripts
 4 -rw-r--r--  1 kathyreid kathyreid  2738 Dec  9 09:42 setup.py
 0 lrwxrwxrwx  1 kathyreid kathyreid    19 Dec  9 09:43 skills -> /opt/mycroft/skills
 8 -rwxr-xr-x  1 kathyreid kathyreid  7315 Dec  9 09:42 start-mycroft.sh
 4 -rwxr-xr-x  1 kathyreid kathyreid  3206 Dec  9 09:42 stop-mycroft.sh
 4 drwxr-xr-x  4 kathyreid kathyreid  4096 Dec  9 09:42 test
 4 -rw-r--r--  1 kathyreid kathyreid   118 Dec  9 09:42 test-requirements.txt
 4 -rw-r--r--  1 kathyreid kathyreid   903 Dec  9 09:42 .travis.yml
 4 drwxr-xr-x  7 kathyreid kathyreid  4096 Dec  9 09:56 .venv
 4 -rw-r--r--  1 kathyreid kathyreid  2393 Dec  9 09:42 venv-activate.sh

```



I would suggested *manually* creating the link: 

```
cd mycroft-core
ln -s /opt/mycroft/skills skills
```

you might need to run `ln` with `sudo`.