# Getting Started in Ubuntu - Development Environment

**URL:** https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602
**Category:** Archive - Mycroft Project
**Created:** [May 4, 2016, 11:07pm UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602 "2016-05-04T23:07:18Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![starlifterdigi](https://community.openconversational.ai/user_avatar/community.openconversational.ai/starlifterdigi/32/417_2.png) [@starlifterdigi](https://community.openconversational.ai/u/starlifterdigi)
#### Post date: [May 4, 2016, 11:07pm UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/1 "2016-05-04T23:07:19Z")

</div>

Hi Mycroft Party Peeps,

I’m trying to setup the development environment in Ubuntu and I’m stuck at the following stages in the README:

1. Are the config files described in the README automatically generated

2. How do I start the virtualenv? The workon command doesn’t work, I get the error message “workon: command not found”. I’m in the root of my mycroft clone folder

Many thanks,  
Dr H.

---

<div class="post-metadata">

### Author: ![javiercani](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/j/a698b9/32.png) [@javiercani](https://community.openconversational.ai/u/javiercani)
#### Post date: [May 16, 2016, 1:50am UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/2 "2016-05-16T01:50:25Z")

</div>

i’m stuck with same thing. are you resolved?

---

<div class="post-metadata">

### Author: ![ryanleesipes](https://community.openconversational.ai/user_avatar/community.openconversational.ai/ryanleesipes/32/16_2.png) [@ryanleesipes](https://community.openconversational.ai/u/ryanleesipes)
#### Post date: [May 16, 2016, 2:06am UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/3 "2016-05-16T02:06:14Z")

</div>

Make sure that you have virtualenv and virtualenvwrapper installed, first and foremost. The default.ini config file exists in the project, but the other files are note generated by default. Creating either of them will result in them being looked at before the default.

Make sure to run the dev setup script.

What distro are you on? Ubuntu? Raspbian?

---

<div class="post-metadata">

### Author: ![DarkSide](https://community.openconversational.ai/user_avatar/community.openconversational.ai/darkside/32/387_2.png) [@DarkSide](https://community.openconversational.ai/u/DarkSide)
#### Post date: [May 16, 2016, 11:29pm UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/4 "2016-05-16T23:29:07Z")

</div>

Same here on Ubuntu 16.04 :

`workon: command not found`

(I obviously ran `dev_setup.sh` before 😉 )

I don’t find _defaults.ini_ file in the mycroft repo 😇

---

<div class="post-metadata">

### Author: ![ryanleesipes](https://community.openconversational.ai/user_avatar/community.openconversational.ai/ryanleesipes/32/16_2.png) [@ryanleesipes](https://community.openconversational.ai/u/ryanleesipes)
#### Post date: [May 17, 2016, 11:48am UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/5 "2016-05-17T11:48:39Z")

</div>

@DarkSide they are in Mycroft/Mycroft/configuration/defaults/ (not actually looking at the project right now, but pretty sure that is the location. Let me follow up in a bit.

---

<div class="post-metadata">

### Author: ![DarkSide](https://community.openconversational.ai/user_avatar/community.openconversational.ai/darkside/32/387_2.png) [@DarkSide](https://community.openconversational.ai/u/DarkSide)
#### Post date: [May 17, 2016, 11:57am UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/6 "2016-05-17T11:57:01Z")

</div>

@ryanleesipes Yes, I found it ! Thanks Ryan !

Now, the `workon: command not found` problem… I hope I will find a solution after my work day. 😉

---

<div class="post-metadata">

### Author: ![DarkSide](https://community.openconversational.ai/user_avatar/community.openconversational.ai/darkside/32/387_2.png) [@DarkSide](https://community.openconversational.ai/u/DarkSide)
#### Post date: [May 17, 2016, 4:50pm UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/7 "2016-05-17T16:50:50Z")

</div>

It works now. I just restarted my Ubuntu ^^.

So, the procedure :

`cd <path_to_mycroft_repo>/mycroft ./build_host_setup.sh sudo apt-get install curl espeak libssl-dev ./dev_setup.sh`

Restart your OS and then

`cd <path_to_mycroft_repo>/mycroft workon mycroft`

☀

---

<div class="post-metadata">

### Author: ![ryanleesipes](https://community.openconversational.ai/user_avatar/community.openconversational.ai/ryanleesipes/32/16_2.png) [@ryanleesipes](https://community.openconversational.ai/u/ryanleesipes)
#### Post date: [May 18, 2016, 4:15am UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/8 "2016-05-18T04:15:17Z")

</div>

Oh yes, I’ve ran into this every time I have set stuff up. That is going into the README.

---

<div class="post-metadata">

### Author: ![betzelel](https://community.openconversational.ai/user_avatar/community.openconversational.ai/betzelel/32/403_2.png) [@betzelel](https://community.openconversational.ai/u/betzelel)
#### Post date: [May 18, 2016, 5:11am UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/9 "2016-05-18T05:11:18Z")

</div>

Hey thanks! I ran into that probem too. I have been too busy lately to get a chance to trouble shoot it. That was the first issue I ran into.

---

<div class="post-metadata">

### Author: ![betzelel](https://community.openconversational.ai/user_avatar/community.openconversational.ai/betzelel/32/403_2.png) [@betzelel](https://community.openconversational.ai/u/betzelel)
#### Post date: [May 18, 2016, 5:17am UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/10 "2016-05-18T05:17:07Z")

</div>

I had a question, after compilation and set up how do we interface with the AI? Do we start with the terminal badh shell? Or does it automaticly respond to voice commands? If I were to put in the IP of my virtual machine (ubuntu) into a web browser, would I bee able to go to a simple web page to login and setup / configure the system? Do you have any videos of how you bring up the servies and interface while you are testing your system?

---

<div class="post-metadata">

### Author: ![aatchison](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/a/838e76/32.png) [@aatchison](https://community.openconversational.ai/u/aatchison)
#### Post date: [May 18, 2016, 5:53pm UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/11 "2016-05-18T17:53:55Z")

</div>

Open 3 terminals in the Mycroft checkout dir:  
Terminal 1  
./start.sh service  
Terminal 2  
./start.sh skills  
Terminal 3  
./start.sh voice

If you want them to background in one terminal use &;  
./start.sh service &

Expect this to get better 😉

---

<div class="post-metadata">

### Author: ![betzelel](https://community.openconversational.ai/user_avatar/community.openconversational.ai/betzelel/32/403_2.png) [@betzelel](https://community.openconversational.ai/u/betzelel)
#### Post date: [May 18, 2016, 6:42pm UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/12 "2016-05-18T18:42:28Z")

</div>

after those services are started, can you enter questions to it via text in a bash shell? or does it have to be through voice activation only?

---

<div class="post-metadata">

### Author: ![DarkSide](https://community.openconversational.ai/user_avatar/community.openconversational.ai/darkside/32/387_2.png) [@DarkSide](https://community.openconversational.ai/u/DarkSide)
#### Post date: [May 19, 2016, 7:27am UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/13 "2016-05-19T07:27:01Z")

</div>

@aatchison That’s exactly what I did and my first request was “Mycroft, tell me a joke”. I was not disappointed. 😄  
It made me laugh 😁

---

<div class="post-metadata">

### Author: ![DarkSide](https://community.openconversational.ai/user_avatar/community.openconversational.ai/darkside/32/387_2.png) [@DarkSide](https://community.openconversational.ai/u/DarkSide)
#### Post date: [May 19, 2016, 7:29am UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/14 "2016-05-19T07:29:18Z")

</div>

Good question, I also wander how to interact with _Skills_ without using the voice ?

---

<div class="post-metadata">

### Author: ![aatchison](https://community.openconversational.ai/letter_avatar_proxy/v4/letter/a/838e76/32.png) [@aatchison](https://community.openconversational.ai/u/aatchison)
#### Post date: [May 20, 2016, 3:20pm UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/15 "2016-05-20T15:20:43Z")

</div>

There is also:  
./start.sh cli --quiet

---

<div class="post-metadata">

### Author: ![betzelel](https://community.openconversational.ai/user_avatar/community.openconversational.ai/betzelel/32/403_2.png) [@betzelel](https://community.openconversational.ai/u/betzelel)
#### Post date: [May 20, 2016, 4:25pm UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/16 "2016-05-20T16:25:21Z")

</div>

ok cool thanks, i will have to check that out once i get some more time on my hands.

---

<div class="post-metadata">

### Author: ![NeoplasmSix](https://community.openconversational.ai/user_avatar/community.openconversational.ai/neoplasmsix/32/582_2.png) [@NeoplasmSix](https://community.openconversational.ai/u/NeoplasmSix)
#### Post date: [May 23, 2016, 2:54pm UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/17 "2016-05-23T14:54:31Z")

</div>

Sorry to appear absolutely clueless (which I am) but what is meant by the Mycroft ‘checkout’ directory?  
😕

---

<div class="post-metadata">

### Author: ![Wolfgange](https://community.openconversational.ai/user_avatar/community.openconversational.ai/wolfgange/32/276_2.png) [@Wolfgange](https://community.openconversational.ai/u/Wolfgange)
#### Post date: [May 23, 2016, 3:12pm UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/18 "2016-05-23T15:12:26Z")

</div>

The checkout directory is just the folder where you downloaded mycroft-core. 🙂

---

<div class="post-metadata">

### Author: ![NeoplasmSix](https://community.openconversational.ai/user_avatar/community.openconversational.ai/neoplasmsix/32/582_2.png) [@NeoplasmSix](https://community.openconversational.ai/u/NeoplasmSix)
#### Post date: [May 23, 2016, 3:14pm UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/19 "2016-05-23T15:14:30Z")

</div>

ah, thanks, makes sense I guess cheers!

---

<div class="post-metadata">

### Author: ![starlifterdigi](https://community.openconversational.ai/user_avatar/community.openconversational.ai/starlifterdigi/32/417_2.png) [@starlifterdigi](https://community.openconversational.ai/u/starlifterdigi)
#### Post date: [May 23, 2016, 7:32pm UTC](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602/20 "2016-05-23T19:32:57Z")

</div>

I resolved this with help from the Slack channel. I had setup the environment as sudo. I re-ran dev\_setup.sh as my normal user and this fixed everything.

[Next page](https://community.openconversational.ai/t/getting-started-in-ubuntu-development-environment/602.md?page=2)
