To install Odoo from source, you need to follow these steps:
- Run the following commands to install the main dependencies:
$ sudo apt-get update$ sudo apt-get install -y git python3.5 postgresql nano virtualenv \ xz-utils wget fontconfig libfreetype6 libx11-6 libxext6 libxrender1 \ node-less node-clean-css xfonts-75dpi
- Download and install wkhtmltopdf:
$ wget -O wkhtmltox.tar.xz \ https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.4/wkhtmltox-0.12.4_linux-generic-amd64.tar.xz $ tar xvf wkhtmltox.tar.xz$ sudo mv wkhtmltox/lib/* /usr/local/lib/$ sudo mv wkhtmltox/bin/* /usr/local/bin/$ sudo mv wkhtmltox/share/man/man1 /usr/local/share/man/
- Now, use this to install the build dependencies:
$ sudo apt-get install ...