Manifest Academy

Home › Curriculum › Deploy, Operate & Upgrade › Installing Odoo from source on Ubuntu

Install and deploy · 18 min · Odoo 20 / Ubuntu 24.04

Installing Odoo from source on Ubuntu

System packages, PostgreSQL, a dedicated user, the source checkout, a virtual environment, wkhtmltopdf, the config file and systemd.

In this lesson

Key points

Real-world example

A consultant's first on-premise install printed blank PDFs. The server had Ubuntu's wkhtmltopdf without patched Qt, so headers and footers failed. Installing the 0.12.6 patched build fixed every report; the install script now pins it.

Questions and answers

Where do enterprise addons go?

In their own folder listed in addons_path (for example /opt/odoo/enterprise).

Which command creates a database with base installed from the CLI?

odoo-bin -c odoo.conf -d prod -i base --stop-after-init

Read the full lesson, worked example and quiz