hpr4449 :: How to install Odoo 18 on a virtual machine

In this podcast I explain how to install Odoo 18 on a (virtual) machine and start using it.

<< First, < Previous, Next > Latest >>

Thumbnail of Jeroen Baten
Hosted by Jeroen Baten on Thursday, 2025-08-21 is flagged as Clean and is released under a CC-BY-SA license.
odoo, erp, application. 1.

Listen in ogg, opus, or mp3 format. Play now:

Duration: 00:27:01
Download the transcription and subtitles.

Business Applications.

A open series on Business specific Applications

Create a vm with Debian 12 and at least 4 Gb of RAM and say 20-30 Gb disc space.

installation

============

sudo apt install -y gpg postgresql

wget -q -O - https://nightly.odoo.com/odoo.key | sudo gpg --dearmor -o /usr/share/keyrings/odoo-archive-keyring.gpg

echo 'deb [signed-by=/usr/share/keyrings/odoo-archive-keyring.gpg] https://nightly.odoo.com/18.0/nightly/deb/ ./' | sudo tee /etc/apt/sources.list.d/odoo.list

Odoo CE latest nightly build

https://nightly.odoo.com/18.0/nightly/deb/odoo_18.0.latest_all.deb

sudo apt-get update && sudo apt-get install -y odoo

Install wkhtmltopdf

wget -O wkhtmltox_0.12.6.1-3.bookworm_amd64.deb https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_amd64.deb

dpkg -i wkhtmltox_0.12.6.1-3.bookworm_amd64.deb

apt install -f -y

apt install -y python3-xlwt python3-num2words python3-phonenumbers

systemctl status odoo

First use

=========

http://:8069/

Will relocate to /web/database/selector

Master Password to protect this form

Database Name.

Email: your email

Password: your desired password

Phone Number: optional

Language: your desired language

Country: select your country

Demo Data: select to get demo data.

Click "Create database"

Wait.

Login.

You see /odoo/apps.

Upper left square-icon shows 'Apps' and 'Settings'.

Let's install a simple app: contacts

Search in the search bar for "contacts" and when displayed, click the 'Activate' button of the "contacts" app.

When done, the same menu now contains: Discuss, To-do, contacts, Project, Email Marketing, Surveys, Employees

and the earlier mentioned Apps and Settings.

Go back to 'Apps' and Activate the "Sales" app. This will also install the "Invoicing" app.

Time to start playing around.

Some tech stuff, interesting locations

===============

/etc/odoo/odoo.conf

Here you can add additional addons later: /var/lib/odoo/.local/share/Odoo/addons/18.0/

Here are all files uploaded to Odoo: find /var/lib/odoo/.local/share/Odoo/filestore/

This is where user sessions are administrated: find /var/lib/odoo/.local/share/Odoo/sessions/

And these are the main locations where the Odoo program can be found.

ls -al /usr/lib/python3/dist-packages/odoo/

ls -al /usr/lib/python3/dist-packages/odoo/addons/

ls -al /usr/lib/python3/dist-packages/odoo/addons/ | wc


Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2025-08-04 08:31:19 by Archer72

Oodo in a vm

Hello Jeroen,

Another great show in this series.
I have been working for a bit on using virt-manager for virtual machines, and this is the perfect project to try out.

Looking forward to the next show.

- Archer72

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the letter P in HPR stand for?
Are you a spammer?
Who is the host of this show?
What does HPR mean to you?