ray/doc/install-on-ubuntu.md

36 lines
906 B
Markdown
Raw Normal View History

2016-07-28 20:47:37 -07:00
# Installation on Ubuntu
Ray should work with Python 2 and Python 3. We have tested Ray on Ubuntu 14.04
and Ubuntu 16.04
2016-07-28 20:47:37 -07:00
## Dependencies
To install Ray, first install the following dependencies. We recommend using
[Anaconda](https://www.continuum.io/downloads).
```
sudo apt-get update
sudo apt-get install -y cmake build-essential autoconf curl libtool libboost-all-dev unzip python-dev python-pip # If you're using Anaconda, then python-dev and python-pip are unnecessary.
2017-01-08 17:30:06 -08:00
pip install numpy cloudpickle funcsigs colorama psutil redis
```
# Install Ray
Ray can be built from the repository as follows.
```
git clone https://github.com/ray-project/ray.git
cd ray/python
python setup.py install --user
```
2016-07-28 20:47:37 -07:00
## Test if the installation succeeded
To test if the installation was successful, try running some tests. This assumes
that you've cloned the git repository.
```
python test/runtest.py
```