Blog

How to Install Odoo Community on Windows/Linux

Step-by-Step Guide for Beginners to Install Odoo Community on Windows/Linux

Are you planning to try Odoo for your business? Then the best way to begin is by installing the Odoo Community Edition locally on your system.

In this guide, we’ll walk you through how to install Odoo Community on both Windows and Linux (Ubuntu), even if you are not from a technical background. Let’s make this simple and easy for you. 


First, What is Odoo Community?

Odoo Community Edition is the open-source version of Odoo ERP. It’s free to use and comes with many core modules like CRM, Sales, Inventory, Accounting, and more. If you want to test or use Odoo locally, this is the best starting point.


System Requirements

Before installing, make sure your system has:

  • At least 4 GB RAM (8 GB recommended)
  • Python 3.8+
  • PostgreSQL 12+
  • Access to terminal/command prompt (for Linux or Windows)

Part 1: Installing Odoo Community on Windows

Step-by-Step Process

Step 1: Install XAMPP or WAMP (Optional for testing web apps)

You can skip this if you’re only trying Odoo without other apps.

Step 2: Install PostgreSQL

  1. Go to: https://www.postgresql.org/download/windows/
  2. Download and install PostgreSQL 12 or above.
  3. Set a password (you’ll need it later).

Step 3: Install Python

  1. Download Python from https://www.python.org/downloads/
  2. During installation, tick the box that says “Add Python to PATH”.

Step 4: Install Git

You’ll need Git to clone the Odoo source.

Step 5: Install Required Libraries

Open Command Prompt and type:

pip install wheel
pip install -r requirements.txt

Step 6: Download Odoo Source Code

git clone https://www.github.com/odoo/odoo --depth 1 --branch 16.0 --single-branch .

(You can replace 16.0 with the version you need)

Step 7: Create Odoo Configuration File

Make a file named odoo.conf and paste:

[options]
addons_path = addons
admin_passwd = admin
db_host = localhost
db_port = 5432
db_user = postgres
db_password = your_password
xmlrpc_port = 8069
logfile = odoo.log

Step 8: Run Odoo

In the terminal, go to your Odoo folder and type:

python odoo-bin -c odoo.conf

Open your browser and go to:
👉 http://localhost:8069
You’ll see the Odoo setup page. 🎉


“Tired of doing this manually? Let our experts handle your Odoo configuration.”

🐧 Part 2: Installing Odoo Community on Linux (Ubuntu)

🔧 Step-by-Step Process

Step 1: Update Your System

sudo apt update && sudo apt upgrade

Step 2: 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 libxml2-dev libssl-dev libffi-dev

Step 3: Install PostgreSQL

sudo apt install postgresql

Start and enable PostgreSQL:

sudo systemctl start postgresql

sudo systemctl enable postgresql

Create PostgreSQL User:

sudo su – postgres

createuser –createdb –username postgres –no-createrole –no-superuser –pwprompt odoo16

exit

Step 4: Install Wkhtmltopdf

sudo apt install wkhtmltopdf

Step 5: Create Odoo User

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

Step 6: Download Odoo Source

sudo git clone https://www.github.com/odoo/odoo --depth 1 --branch 16.0 --single-branch /opt/odoo/odoo

Step 7: Install Python Requirements

cd /opt/odoo/odoo
sudo pip3 install -r requirements.txt

Step 8: Configure Odoo

Create config file:

sudo nano /etc/odoo.conf

Paste this:

[options]
admin_passwd = admin
db_host = False
db_port = False
db_user = odoo16
db_password = your_password
addons_path = /opt/odoo/odoo/addons
logfile = /var/log/odoo/odoo.log

Step 9: Run Odoo

cd /opt/odoo/odoo
./odoo-bin -c /etc/odoo.conf

Open your browser and go to:
http://localhost:8069
You’ll now see your Odoo database setup page! 🎉


Final Words

Installing Odoo may seem like a big task at first, but if you follow each step patiently, you’ll get there. Once installed, you can explore modules, test features, and understand how powerful Odoo is for running your business.

You’ve just unlocked a new door to smarter business management.


Need a Fully Ready Odoo Website or ERP Setup? Let our experts handle your Odoo configuration

At Odiware Technologies, we don’t just install Odoo —
We customize, implement, train, and support you every step of the way.
Whether you want a CRM system, HRMS, inventory management, or a professional business website –
We make it happen.

📞 Get in touch: sales@odiware.com
🌐 Visit us: www.odiware.com

Odiware – Your Odoo Partner for Smarter Business.