how to install odoo community edition
Blog

How to Install Odoo Community

Odoo Community Installation Guide (Step-by-Step for Beginners)

Thinking of using Odoo Community for your business but not sure how to install it? You’re not alone! Many people search for “how to install Odoo community version”—and today, we’re solving it for you in the simplest way possible.

Whether you’re a startup, small business, or developer exploring Odoo ERP, this guide will help you set it up without confusion.

Note: This guide is for Odoo 17 Community Edition. Steps may vary slightly depending on your OS and version.


What Is Odoo Community?

Odoo Community is the free and open-source version of Odoo ERP. It includes many core apps like CRM, Sales, Inventory, Purchase, and Website. It’s ideal for small businesses and developers who want full control without license fees.


Requirements Before Installation

Before installing, make sure your system has the following:

System Requirements:

  • OS: Ubuntu 20.04 or 22.04 LTS (recommended)
  • Python: 3.10+
  • PostgreSQL: 14+
  • pip & Git installed
  • wkhtmltopdf for PDF reports

Step-by-Step Guide to Install Odoo Community

Update Your System

Open your terminal and run:

sudo apt update && sudo apt upgrade -y

Create Odoo User

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

Install PostgreSQL

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

Install Dependencies

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

Install wkhtmltopdf

For PDF reports:

sudo apt install xfonts-75dpi xfonts-base -y
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.6/wkhtmltox_0.12.6-1.focal_amd64.deb
sudo dpkg -i wkhtmltox_0.12.6-1.focal_amd64.deb

Clone Odoo Source Code

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

Install Python Requirements

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

Create Configuration File

sudo nano /etc/odoo.conf

Paste this:

[options]
   ; This is the password that allows database operations:
   admin_passwd = admin
   db_host = False
   db_port = False
   db_user = odoo
   db_password = False
   addons_path = /opt/odoo/addons
   logfile = /var/log/odoo/odoo.log

Create Log File Directory

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

Run Odoo!

sudo -u odoo /opt/odoo/odoo-bin -c /etc/odoo.conf

Open your browser and go to:

http://localhost:8069

You should now see the Odoo setup page! 🎉


Bonus Tips

  • Always install in a virtual environment if deploying to production.
  • Use Nginx as a reverse proxy for better performance.
  • For long-term use, consider setting up Odoo as a service.

Need Help With Odoo Setup?

Installing Odoo may seem technical—but don’t worry! If you need help setting it up or customizing it for your business, Odiware is here to help.

We’re experts in Odoo implementation, customization, and support. From Odoo Community to Enterprise—we’ve got you covered!


Contact Us

👉 Odiware Technologies Private Limited
📧 Email: sales@odiware.com
🌐 Website: www.odiware.com