We Are Here: India India | Usa USA | Canada Canada | Brazil Brazil

How To Install Odoo 19 On Ubuntu ?

BY
How To Install Odoo 19 On Ubuntu ?
Hardik Kalariya
August 21, 2025 | No comments yet

Step by Step Guide To Install Odoo 19 On Ubuntu


To install Odoo 19 on Ubuntu you just follow the below steps.


Step 1 : Update Server


sudo apt update && sudo apt upgrade -y

sudo apt install git python3-pip build-essential wget python3-dev python3-venv \

python3-wheel libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools \

npm node-less libjpeg-dev zlib1g-dev libpq-dev libxml2-dev libffi-dev libssl-dev \

libjpeg8-dev liblcms2-dev libblas-dev libatlas-base-dev -y


Step 2 : Install PostgreSQL (Database)


sudo apt install postgresql -y

sudo -u postgres createuser -s odoo19


Step 3 : Create System User


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

Step 4 : Install Wkhtmltopdf (PDF Reports)


Odoo requires wkhtmltopdf with patched QT:

sudo apt install xfonts-75dpi xfonts-base -y

wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.focal_amd64.deb

sudo apt install ./wkhtmltox_0.12.6-1.focal_amd64.deb -y

Step 5 : Download Odoo 19 Source


sudo su - odoo19 -s /bin/bash

git clone https://www.github.com/odoo/odoo --branch 19.0 --single-branch .

exit


Step 6 : Create Virtual Environment & Install Requirements


sudo apt install python3-venv -y

sudo su - odoo19 -s /bin/bash

python3 -m venv venv

source venv/bin/activate

pip install wheel

pip install -r requirements.txt

deactivate

exit


Step 7 : Configure Odoo  


Create config file:

sudo nano /etc/odoo19.conf

Paste:

[options]

; Database

db_host = False

db_port = False

db_user = odoo19

db_password = False


; Paths

addons_path = /opt/odoo19/addons

logfile = /var/log/odoo19/odoo.log

Create log directory:

sudo mkdir -p /var/log/odoo19

sudo chown odoo19:odoo19 /var/log/odoo19


Step 8 : Create Systemd Service  


sudo nano /etc/systemd/system/odoo19.service

Paste:

[Unit]

Description=Odoo19

Requires=postgresql.service

After=network.target postgresql.service


[Service]

Type=simple

SyslogIdentifier=odoo19

PermissionsStartOnly=true

User=odoo19

Group=odoo19

ExecStart=/opt/odoo19/venv/bin/python3 /opt/odoo19/odoo-bin -c /etc/odoo19.conf

StandardOutput=journal+console


[Install]

WantedBy=multi-user.target

Step 9 : Start Odoo  


sudo systemctl daemon-reexec

sudo systemctl enable --now odoo19

sudo systemctl status odoo19

Step 10 :Access Odoo 19  


Open in browser:

👉 http://<your-server-ip>:8069

👉 localhost:8069


Default:

  • Database creation screen will appear.
  • Master password = set manually (default blank, but you can set in config with admin_passwd = mypassword).



Related Post:

Author
Hardik Kalariya

Hardik Kalariya is a seasoned Odoo professional at CandidRoot Solutions with over 14 years of experience in delivering end-to-end Odoo solutions. He has helped a wide range of businesses streamline operations through expert Odoo functional consulting, technical development, customization, and support. With deep hands-on knowledge of Odoo’s ecosystem and a strong understanding of business processes, Hardik specializes in translating complex requirements into scalable, efficient ERP solutions that drive real business value.