diff --git a/source/getting-started/index.markdown b/source/getting-started/index.markdown index 220084e9f74..de8a2831f92 100644 --- a/source/getting-started/index.markdown +++ b/source/getting-started/index.markdown @@ -18,8 +18,77 @@ footer: true
+

Preparation

+ +
+ + + + + + + + +
Installing and running Home Assistant on your local machine is easy. Make sure you have Python 3.4 and git installed and execute the following code in a console: + +
+ +
+

The preparation of a Fedora 22 host will only take a couple of minutes. First install Python 3.4, git and the other needed packages out of the Fedora Package Collection. This ensure that you receive updates in the future.

+ +

+It's assumed that your user has an entry in the sudoers file. Otherwise, run the commands which needs more privileges as root. +

+ +```bash +sudo dnf -y install python3 python3-devel git gcc +``` + +
+ +
+ +

CentOS is providing longtime support and often not shipping the latest release of a software component. To run, Python 3.x on CentOS Software Collections needs to be activated.

+ +
Step 1. Install the tools for the Software Collection
+ +```bash +sudo yum -y install scl-utils +``` + +
Step 2. Make the repository available.
+ +```bash +sudo yum -y install rhscl-rh-python34-*.noarch.rpm +``` + +
Step 3. Install Python 3.x
+ +```bash +sudo yum -y install rh-python34 +``` + +
Step 4. Start using software collections:
+ +```bash +sudo scl enable rh-python34 bash +``` + +
+ +
+ +
+ + + + + + +

Installation

+

```bash git clone --recursive https://github.com/balloob/home-assistant.git @@ -87,7 +156,7 @@ eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" ``` -

Step 2. Install requirements

+
Step 2. Install requirements
```bash sudo apt-get install python3-dev @@ -138,3 +207,4 @@ python3 -m homeassistant
###[Next step: configuring Home Assistant »](/getting-started/configuration.html) +