Skip to Content

How to Install Odoo: The Complete Beginner’s Guide (Windows and Ubuntu)

Odoo is one of the most powerful open-source ERP systems used by thousands of companies worldwide to manage everything from sales and accounting to HR and inventory.

Whether you’re a developer, a business owner, or just curious, installing Odoo properly is the first step toward unlocking its full potential. In this guide, we’ll walk you through how to install Odoo on Ubuntu/Linux, Windows, and Docker — step by step.



1. Installing Odoo on Ubuntu/Linux

Step 1: Update and Upgrade Packages

sudo apt update && sudo apt upgrade -y

Step 2: Create a System User for Odoo

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

Step 3: Install PostgreSQL Database

sudo apt install postgresql -y sudo -u postgres createuser -s odoo

Step 4: Install Dependencies

sudo apt install git python3-pip build-essential wget python3-dev python3-venv \ libxslt-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools \ node-less libjpeg-dev libpq-dev gcc g++ -y

Step 5: Download Odoo Source Code

sudo su - odoo git clone https://github.com/odoo/odoo.git --depth 1 --branch 19.0 exit

Step 6: Create a Virtual Environment and Install Python Dependencies

cd /opt/odoo python3 -m venv odoo-venv source odoo-venv/bin/activate pip3 install wheel pip3 install -r odoo/requirements.txt deactivate

Step 7: Run Odoo

./odoo/odoo-bin -r odoo -w odoo --addons-path=addons --db-filter=.*

➡️ Odoo should now be running at:

 

2. Installing Odoo on Windows

Step 1: Download the Odoo Installer

Visit the official website:

👉 https://www.odoo.com/page/download

Step 2: Run the Installer

Follow the setup wizard:

  • Choose the installation path
  • Select PostgreSQL (Odoo will install it automatically if not found)
  • Set your PostgreSQL password
Step 3: Launch Odoo

Once installed, Odoo runs automatically.

Open your browser and go to:

👉 http://localhost:8069

You can now create a new database and start using Odoo.

An Complete Guide to Install Odoo 19 in Mac OS