support Click to see our new support page.
support For sales enquiry!

How To Install Odoo 14 On Ubuntu

Install Odoo 14

Abhishek M.SAug. 28, 2020

After much anticipation, Odoo released the version 13. Odoo 13 last year in Odoo experience and now triggering for Odoo 14. Odoo 14 road-map gets you the glimpse of features in the upcoming Odoo version. To install Odoo 14 on Ubuntu 18.04 LTS you just follow the bellow steps.

Install odoo 14

STEP 1 : To Update apt source list.

sudo apt-get update

STEP 2 : Create odoo user and also group.

sudo adduser -system -home=/opt/odoo -group odoo

STEP3 : For the smooth running of odoo, install PostgreSQL database server and install it on the same host as odoo is running.

sudo apt-get install -y postgresql

After the installation start use the below commands to start the postgresql database server

sudo service postgresql start

Then create a database user for odoo

sudo su - postgres

createuser --createdb --username postgres --no-createrole --no-superuser --pwprompt odoo

Give a role password for the newly created role and verify it by giving password again.


Then restart the postgresql server

sudo service postgresql restart

STEP 4 : Install python and depended python packages on the server.

sudo apt-get install -y python3-pip

Install Python Dependencies for Odoo 14.

To switch in to the odoo user and then install the dependency packages.

sudo su - odoo -s /bin/bash

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 polib

STEP 5 : Odoo web dependencies

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 -y node-less
sudo python3 -m pip install libsass

STEP 6 : Install odoo 14 community version from

Switch to odoo user

sudo su - odoo -s /bin/bash

Download the odoo 14 package from


Extract the downloaded package of odoo14 using tar

tar xfv odoo_14.1alpha1.latest.tar.xz

Change directory from /opt/odoo to src

 cd src 

Install the requirements

pip3 install -r requirements.txt

And exit from the odoo user

STEP 7 : Create a odoo configuration file

sudo vim /etc/odoo-server.conf

Copy the below content in configuration file.

; This is the password that allows database operations:
; admin_passwd = admin
db_host = False
db_port = False
db_user = odoo
db_password = False
logfile = /var/log/odoo/odoo-server.log
addons_path = /opt/odoo/src/addons,/opt/odoo/src/odoo/addons

Change the permission and also the user ownership of configuration file as below

sudo chown odoo: /etc/odoo-server.conf 
sudo chmod 640 /etc/odoo-server.conf

STEP 8 : Create odoo log file

sudo mkdir /var/log/odoo
sudo chown odoo:root /var/log/odoo

STEP 9 : You can copy and paste the script to this file.

sudo vim /etc/init.d/odoo-server

Then change ownership and permission

sudo chmod 755 /etc/init.d/odoo-server
sudo chown root: /etc/init.d/odoo-server

STEP 10 : Test the server running as service

To start the odoo server

sudo /etc/init.d/odoo-server start

Stop the odoo server

sudo /etc/init.d/odoo-server stop

To restart the odoo server

sudo /etc/init.d/odoo-server restart

View the odoo log files

tail /var/log/odoo/odoo-server.log

Now, if you want to add this service to begin on boot up run the bellow command

update-rc.d odoo-server defaults

STEP 11 : Run odoo locally

Switch to odoo user

sudo su - odoo -s /bin/bash
python3  /opt/odoo/src/odoo-bin

Then go to web browser to access odoo14




To print PDF reports need to install right version of wkhtmltopdf.

sudo wget
sudo dpkg -i wkhtmltox_0.12.6-1.bionic_amd64.deb
sudo cp /usr/local/bin/wkhtmltoimage  /usr/bin/wkhtmltoimage
sudo cp /usr/local/bin/wkhtmltopdf  /usr/bin/wkhtmltopdf

LinkedIn LinkedIn

Leave a Comment