<commit_before># Running OpenQuake Engine from git repository on Ubuntu 14.04
This page describes the additional steps necessary to run the current development version of the OpenQuake engine rather than the latest public package using Ubuntu Linux 14.04 LTS.

## Install primary dependencies

```bash
sudo apt-get update
sudo apt-get install git python debconf python-amqp python-celery python-geohash python-lxml python-numpy python-paramiko python-scipy python-shapely python-psycopg2 python-django python-setuptools python-psutil python-mock python-concurrent.futures python-h5py rabbitmq-server postgresql-9.3 postgresql-client postgresql-9.3-postgis-2.1

```

## Get the source code from git
You'll now need to clone four source code package from git, including the OQ Engine itself. Change directory to someplace where you want to store the source code (somewhere in `/home/yourname` or `/usr/local/src/`, for example), then:
```
git clone https://github.com/gem/oq-engine.git
git clone https://github.com/gem/oq-hazardlib.git
git clone https://github.com/gem/oq-risklib.git
```

If you're planning on modifying your own copy of the code, you'll want to clone from your own fork instead.
See [forking a repository](https://help.github.com/articles/fork-a-repo).

## Set the PYTHONPATH and system PATH
You'll need to add to your `PYTHONPATH` environment variable the path to each source repo clone. In this example, we've cloned the repos (see above) to `/home/yourname/`. You can set your `PYTHONPATH` like so:<commit_msg>wiki: remove python-paramiko from dependencies Former-commit-id: c4559f3c2e58a34f3e18ea92a8362c929f2d33c5 [formerly b7fa640c536587c0d03ecdcb73e1cb1191afaff7] Former-commit-id: d1d725cc077c542e0afbea0fa4e9085817dbc41a<commit_after># Running OpenQuake Engine from git repository on Ubuntu 14.04
This page describes the additional steps necessary to run the current development version of the OpenQuake engine rather than the latest public package using Ubuntu Linux 14.04 LTS.

## Install primary dependencies

```bash
sudo apt-get update
sudo apt-get install git python debconf python-amqp python-celery python-geohash python-lxml python-numpy python-scipy python-shapely python-psycopg2 python-django python-setuptools python-psutil python-mock python-concurrent.futures python-h5py rabbitmq-server postgresql-9.3 postgresql-client postgresql-9.3-postgis-2.1

```

## Get the source code from git
You'll now need to clone four source code package from git, including the OQ Engine itself. Change directory to someplace where you want to store the source code (somewhere in `/home/yourname` or `/usr/local/src/`, for example), then:
```
git clone https://github.com/gem/oq-engine.git
git clone https://github.com/gem/oq-hazardlib.git
git clone https://github.com/gem/oq-risklib.git
```

If you're planning on modifying your own copy of the code, you'll want to clone from your own fork instead.
See [forking a repository](https://help.github.com/articles/fork-a-repo).

## Set the PYTHONPATH and system PATH
You'll need to add to your `PYTHONPATH` environment variable the path to each source repo clone. In this example, we've cloned the repos (see above) to `/home/yourname/`. You can set your `PYTHONPATH` like so:
{'fraction_non_alphanumeric': 0.08228043143297381, 'fraction_numerical': 0.031124807395993836, 'mean_word_length': 4.880434782608695, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4265532', 'n_tokens_mistral': 1063, 'n_tokens_neox': 963, 'n_words': 378}