Updated October 2026 to reflect current versions.
Odoo is a powerful, open-source business management software that has become a popular choice for businesses of all sizes. With its intuitive user interface and robust features, Odoo can help streamline your operations and increase productivity. In this guide, we will show you how to install Odoo 20 on Linux systems.
Version note: this guide was originally written for Odoo 16 and refreshed in October 2026 for Odoo 20, the current major release (the page title and URL keep their original name for continuity). What changed between Odoo 16 and Odoo 20 for this install: the minimum Python version went from the 3.10 era to Python 3.12+, the minimum PostgreSQL version went from 12 to PostgreSQL 16+, and wkhtmltopdf (still needed for PDF reports, version 0.12.6) must be installed manually as it is not on PyPI. Odoo 20 also offers AI features that require the pgvector PostgreSQL extension.
Prerequisites
Before you can install Odoo 20, there are a few prerequisites that you will need to meet. These include:
- A Linux system, such as Ubuntu or Fedora
- A user account with sudo privileges
- Python 3.12 or higher installed on your system
- PostgreSQL 16 or higher installed on your system
Installing Odoo 20
Once you have met all the prerequisites, you can begin the process of installing Odoo 20. Here are the steps that you will need to follow:
- Update your system. To do this, open a terminal window and enter the following command:
<code>sudo apt-get update</code>Code language: HTML, XML (xml)2. Install the required dependencies. To do this, enter the following command:
<code>sudo apt-get install git python3-pip build-essential wget python3-dev python3-venv libldap2-dev libpq-dev libsasl2-dev</code>Code language: HTML, XML (xml)3. Create a new directory for Odoo. To do this, enter the following command:
<code>mkdir odoo20</code>Code language: HTML, XML (xml)4. Change into the new directory. To do this, enter the following command:
<code>cd odoo20</code>Code language: HTML, XML (xml)5. Clone the Odoo source code from GitHub. To do this, enter the following command:
<code>git clone https://www.github.com/odoo/odoo --depth 1 --branch 20.0</code>Code language: HTML, XML (xml)6. Create a virtual environment. To do this, enter the following command:
<code>python3 -m venv odoo20-env</code>Code language: HTML, XML (xml)7. Activate the virtual environment. To do this, enter the following command:
<code>source odoo20-env/bin/activate</code>Code language: HTML, XML (xml)8. Install the required Python packages. To do this, enter the following command:
<code>pip3 install -r odoo/requirements.txt</code>Code language: HTML, XML (xml)One more dependency: wkhtmltopdf is required for PDF reports but is not installed through pip — install version 0.12.6 manually for your distribution (see the official source-install documentation and the wkhtmltopdf wiki for details).
9. Create a new Odoo configuration file. To do this, enter the following command:
<code>nano ~/odoo20/odoo/odoo.conf</code>Code language: HTML, XML (xml)10. Add the following lines to the configuration file:
[options]; This is the password that allows database operations:admin_passwd = admindb_host = Falsedb_port = Falsedb_user = odoodb_password = FalseCode language: PHP (php)- Save the configuration file and exit the editor.
- Start the Odoo server. To do this, enter the following command:
~/odoo20/odoo/odoo-binCode language: JavaScript (javascript)- Open a web browser and navigate to http://localhost:8069.
- Log in to the Odoo dashboard using the username
admin






