Preparing for installation on Ubuntu¶
Python and basic development tools
sudo apt-get install python3-dev gcc cython python-virtualenv
Additional necessary packages for a Reahl installation
sudo apt-get install libxml2-dev libxslt-dev zlib1g-dev libsqlite3-0
The next step is to create a virtualenv.
You do not need to install chromedriver in order to follow this tutorial. However, if you are going to use chromium for testing, you will need chromedriver.
sudo apt-get install chromium-chromedriver
You also need to adjust your PATH so that /usr/lib/chromium-browser is included. In your .bashrc, add the line:
In Ubuntu 14.4, the chromedriver binary is installed in /usr/lib/chromium-browser/chromedriver, but it neglects setting the LD_LIBRARY_PATH for it to work correctly. To correct this, create the file /etc/ld.so.conf.d/chrome_lib.conf, with the following contents: