Do you have any query? +91 9427425799, +91 8530000384 |

How to install Odoo v12 in Ubuntu 18.04?

Step by step guide to setup Odoo v12

The new version of Odoo has just been launched. Odoo V12 is released with lots of new features.
Here is the step by step guide for installing Odoo v12 in ubuntu 18.04.

sudo apt-get update

sudo apt-get -y upgrade

sudo apt-get install python3-pip

pip3 install Babel decorator docutils ebaysdk feedparser gevent greenlet html2text Jinja2 lxml Mako MarkupSafe mock num2words ofxparse passlib Pillow psutil psycogreen psycopg2 pydot pyparsing PyPDF2 pyserial python-dateutil python-openid pytz pyusb PyYAML qrcode reportlab requests six suds-jurko vatnumber vobject Werkzeug XlsxWriter xlwt xlrd

sudo apt-get install -y npm

sudo ln -s /usr/bin/nodejs /usr/bin/node

sudo npm install -g less less-plugin-clean-css

sudo apt-get install node-less

sudo apt-get install python-software-properties

sudo vim /etc/apt/sources.list.d/pgdg.list

add a line for the repository

deb xenial-pgdg main

wget --quiet -O - | sudo apt-key add -

sudo apt-get update

sudo apt-get install postgresql-9.6

Create Database user for Odoo

sudo su postgres

createuser ubuntu_system_user

psql -l

psql template1

alter role ubuntu_system_user with password 'postgres';

alter role ubuntu_system_user with SUPERUSER;

Install Gdata

cd /opt/odoo

sudo wget

sudo tar zxvf gdata-2.0.18.tar.gz

sudo chown -R odoo: gdata-2.0.18

sudo -s

cd gdata-2.0.18/

python install


Odoo 12 Download from GitHub

cd /opt/odoo

sudo apt-get install git

sudo su - odoo -s /bin/bash

git clone --depth 1 --branch 12.0 --single-branch


sudo apt-get -f install

sudo wget

sudo dpkg -i wkhtmltox-0.12.1_linux-trusty-amd64.deb

sudo cp /usr/local/bin/wkhtmltoimage /usr/bin/wkhtmltoimage

sudo cp /usr/local/bin/wkhtmltopdf /usr/bin/wkhtmltopdf

Run Odoo Server

Open browser on :


cd /usr/local/lib/

sudo git clone --branch 3.4.2 --depth 1

sudo git clone --branch 3.4-stable --depth 1

sudo git clone --depth=1

echo 'SASS_LIBSASS_PATH="/usr/local/lib/libsass"' | sudo tee -a /etc/environment

source /etc/environment

sudo make -C libsass

sudo make -C sassc

sudo make -C sassc install

Restart Odoo Server