Skip to content

Prerequisites for Assista IDE Installation and Odoo Development Setup

Setting up Assista IDE and preparing your system for Odoo development requires meeting specific system requirements and installing essential dependencies. This guide outlines the prerequisites to ensure a seamless installation process and a stable Odoo development environment. By following these steps, you can avoid common setup issues and streamline your development workflow.

System Requirements Overview

To run Assista IDE and Odoo efficiently, your system must meet the following minimum and recommended specifications. These requirements ensure optimal performance for development tasks such as coding, debugging, and testing Odoo modules.

ComponentMinimum RequirementRecommended
Operating SystemUbuntu 22.04+ / macOS 12+ / Windows 10+Ubuntu 22.04 LTS / macOS 14 / Windows 11
Python VersionPython 3.8, 3.10, or 3.12 (based on Odoo version)Python 3.8, 3.10, or 3.12 (based on Odoo version)
RAM4 GB8 GB or higher
Storage20 GB free50 GB or higher
Node.js & npmNode.js 14+Node.js 18+
GitLatest stable releaseLatest stable release
SnapInstalled (Linux only)Installed (Linux only)

Why These Requirements Matter

  • Operating System: Ubuntu 22.04 LTS is recommended for its stability and compatibility with Odoo dependencies. macOS and Windows are supported but may require additional configuration.
  • Python Version: Odoo versions are tied to specific Python versions (e.g., Odoo 16 requires Python 3.8, Odoo 17 requires Python 3.10 or 3.12). Ensure compatibility with your target Odoo version.
  • RAM and Storage: Higher RAM and storage improve performance, especially when running multiple Odoo instances or large databases.
  • Node.js & npm: Essential for compiling Odoo’s frontend assets, such as JavaScript and CSS files.
  • Git: Required for cloning Odoo’s source code and managing version control.
  • Snap: Necessary for installing Assista IDE on Linux systems.

Ensuring your system meets these requirements is critical for a smooth setup process and efficient Odoo development.

Assista IDE Installation Prerequisites

Assista IDE is a powerful tool for Odoo development, offering features like code completion, debugging, and module management. Before installing, ensure your system is properly configured.

Ubuntu / Linux Setup

Assista IDE requires Snap for installation on Linux systems. Snap is a package management system that simplifies software installation and updates.

Verify Snap Installation

Check if Snap is installed by running the following command in your terminal:

bash
snap version

If Snap is installed, you’ll see version information. If not, install Snap with the following commands:

bash
sudo apt update
sudo apt install snapd -y

Why Snap?

Snap ensures that Assista IDE and its dependencies are installed in an isolated environment, reducing conflicts with other system packages. After installing Snap, you’re ready to proceed with the Assista IDE installation.

Odoo Setup Prerequisites

Setting up Odoo requires installing dependencies for Python, Node.js, and other libraries. The exact steps depend on the Python version compatible with your Odoo version (e.g., Python 3.8 for Odoo 16, Python 3.10 or 3.12 for Odoo 17). Below are detailed instructions for each supported Python version.

Git Installation

Odoo’s source code is hosted on GitHub, and cloning the repository requires Git. Verify if Git is installed by running:

bash
git --version

If Git is not installed, use the following commands to install it based on your operating system:

Ubuntu / Debian

bash
sudo apt update
sudo apt install git -y

macOS

Install Git using Homebrew:

bash
brew install git

Windows

Download and install Git from git-scm.com. Follow the installer’s prompts to complete the setup.

Odoo Setup for Python 3.12

For Odoo versions requiring Python 3.12 (e.g., Odoo 17), follow these steps on Ubuntu.

Add Deadsnakes Repository

The Deadsnakes PPA provides access to newer Python versions not available in Ubuntu’s default repositories.

bash
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update

Install Odoo Dependencies

Install Python 3.12 development headers and essential libraries for Odoo, including support for PostgreSQL, XML, SSL, LDAP, and image processing.

bash
sudo apt-get install python3.12-dev build-essential libjpeg-dev libpq-dev libjpeg8-dev libxml2-dev libssl-dev libffi-dev libmysqlclient-dev libxslt1-dev zlib1g-dev libsasl2-dev libldap2-dev liblcms2-dev -y

Install Node.js and LESS Compiler

Odoo’s frontend requires Node.js for asset compilation and the LESS CSS preprocessor for styling.

bash
sudo apt-get install -y npm
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo npm install -g less less-plugin-clean-css
sudo apt-get install -y node-less

Install Python venv Module

The venv module is required to create isolated Python environments for Odoo.

bash
sudo apt install python3.12-venv -y

Odoo Setup for Python 3.10

For Odoo versions requiring Python 3.10 (e.g., Odoo 16 or 17), follow these steps.

Install Odoo Core Dependencies

Install essential libraries and tools for Odoo development, including Python 3.10 headers and support for PostgreSQL, XML, SSL, and image processing.

bash
sudo apt install -y git python3-pip python3.10-dev build-essential libxml2-dev libxslt1-dev zlib1g-dev libsasl2-dev libldap2-dev libssl-dev libffi-dev libmysqlclient-dev libjpeg-dev libpq-dev libjpeg8-dev liblcms2-dev libblas-dev libatlas-base-dev

Install Node.js and LESS Compiler

Ensure Node.js and the LESS compiler are installed for frontend asset compilation.

bash
sudo apt install -y npm
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo npm install -g less less-plugin-clean-css
sudo apt-get install -y node-less

Install Python venv Module

Install the venv module for Python 3.10 to create isolated environments.

bash
sudo apt install python3.10-venv -y

Odoo Setup for Python 3.8

For Odoo versions requiring Python 3.8 (e.g., Odoo 16), follow these steps.

Add Deadsnakes Repository (Optional)

On Ubuntu 22.04 or later, add the Deadsnakes PPA to install Python 3.8. This step is not needed on Ubuntu 20.04, where Python 3.8 is available natively.

bash
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update

Install Odoo Core Dependencies

Install Python 3.8 development headers and libraries for Odoo.

bash
sudo apt install -y git python3-pip python3.8-dev build-essential libxml2-dev libxslt1-dev zlib1g-dev libsasl2-dev libldap2-dev libssl-dev libffi-dev libmysqlclient-dev libjpeg-dev libpq-dev libjpeg8-dev liblcms2-dev libblas-dev libatlas-base-dev

Install Node.js and LESS Compiler

Set up Node.js and the LESS compiler for Odoo’s frontend.

bash
sudo apt install -y npm
sudo ln -s /usr/bin/nodejs /usr/bin/node
sudo npm install -g less less-plugin-clean-css
sudo apt-get install -y node-less

Install Python venv Module

Install the venv module for Python 3.8.

bash
sudo apt install python3.8-venv -y

Additional Tips for a Smooth Setup

  • PostgreSQL: Odoo requires a PostgreSQL database. Install it with sudo apt install postgresql -y on Ubuntu and configure a user for Odoo.
  • Check Compatibility: Verify that your Odoo version matches the Python version and dependencies installed.

Next Steps

Once Snap, Git, and the required dependencies are installed, you’re ready to proceed with the Assista IDE Installation Guide. For further assistance, reach out our support Page.