{"id":49494,"date":"2024-12-02T12:30:00","date_gmt":"2024-12-02T18:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=49494"},"modified":"2025-02-24T20:40:56","modified_gmt":"2025-02-25T02:40:56","slug":"how-to-install-odoo-18-on-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/","title":{"rendered":"How to Install Odoo 18 on Ubuntu 24.04"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-install-odoo-18-on-ubuntu-24-04.webp\" alt=\"How to install Odoo 18 on Ubuntu 24.04\" class=\"wp-image-49577\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-install-odoo-18-on-ubuntu-24-04.webp 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-install-odoo-18-on-ubuntu-24-04-300x169.webp 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-install-odoo-18-on-ubuntu-24-04-150x84.webp 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-install-odoo-18-on-ubuntu-24-04-768x432.webp 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Odoo is an open-source Python and Javascript software used to manage business processes. It includes various features such as customer relationship management, e-commerce, accounting, billing, manufacturing, project management, etc. Odoo uses the PostgreSQL database management system to store its data. This blog post will cover all the requirements for the latest Odoo 18 version, such as Python&#8217;s latest version, PostgreSQL service, Python requirements, and Odoo service configuration. Learning how to install Odoo 18 on Ubuntu 24.04 is a straightforward process that may take up to 15 minutes. Let&#8217;s get started!<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69fd0930bc2a8\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69fd0930bc2a8\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#Step-1-Update-the-System\" >Step 1. Update the System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#Step-2-Install-Python-and-its-dependencies\" >Step 2. Install Python and its dependencies<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#Step-3-Install-NPM-and-Node-CSS-plugins\" >Step 3. Install NPM and Node CSS plugins<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#Step-4-Install-Wkhtmltopdf\" >Step 4. Install Wkhtmltopdf<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#Step-5-Install-PostgreSQL-database-service\" >Step 5. Install PostgreSQL database service<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#Step-6-Create-Odoo-System-and-Database-User\" >Step 6. Create Odoo System and Database User<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#Step-7-Install-and-Configure-Odoo-18\" >Step 7. Install and Configure Odoo 18<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#Step-8-Create-an-Odoo-configuration-file\" >Step 8. Create an Odoo configuration file<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#Step-9-Create-an-Odoo-Service-file\" >Step 9. Create an Odoo Service file<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#Step-10-Manage-Odoo-service\" >Step 10. Manage Odoo service<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#Congratulations\" >Congratulations!<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A server with Ubuntu 24.04 as OS<\/li>\n\n\n\n<li>User privileges: root or non-root user with sudo privileges<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Update-the-System\"><\/span>Step 1. Update the System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before we start with the installation, we will update the system packages to their latest versions available:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt update -y &amp;&amp; sudo apt upgrade -y<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Install-Python-and-its-dependencies\"><\/span>Step 2. Install Python and its dependencies<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To install the latest Python version and its dependencies, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt install build-essential wget git python3-pip python3-dev python3-venv python3-wheel python3 libfreetype6-dev libxml2-dev libzip-dev libsasl2-dev python3-setuptools libjpeg-dev zlib1g-dev libpq-dev libxslt1-dev libldap2-dev libtiff5-dev libopenjp2-7-dev -y<\/pre>\n\n\n\n<p>Once installed you can check the Python version with the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python3 -V<\/pre>\n\n\n\n<p>You should get the following output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# python3 -V\nPython 3.12.3\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Install-NPM-and-Node-CSS-plugins\"><\/span>Step 3. Install NPM and Node CSS plugins<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Next, we need to install NPM and Node with the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install npm -y\n\nnpm install -g less less-plugin-clean-css\n\nsudo apt-get install node-less -y\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-Install-Wkhtmltopdf\"><\/span>Step 4. Install Wkhtmltopdf<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The Wkhtmltopdf converts HTML pages to PDF files. To install it, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install wkhtmltopdf -y<\/pre>\n\n\n\n<p>Once installed, create the symbolic links in case wkhtmltopdf is not readable:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo ln -s \/usr\/local\/bin\/wkhtmltopdf \/usr\/bin\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-Install-PostgreSQL-database-service\"><\/span>Step 5. Install PostgreSQL database service<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To install the PostgreSQL database service, execute the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install postgresql -y<\/pre>\n\n\n\n<p>The PostgreSQL version 16 will be installed, and to start and enable the PostgreSQL service, you need to do the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start postgresql &amp;&amp; sudo systemctl enable postgresql<\/pre>\n\n\n\n<p>To check the status of the service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status postgresql<\/pre>\n\n\n\n<p>You should get output similar to this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:~# sudo systemctl status postgresql\n\u25cf postgresql.service - PostgreSQL RDBMS\n     Loaded: loaded (\/usr\/lib\/systemd\/system\/postgresql.service; enabled; preset: enabled)\n     Active: active (exited) since Sat 2024-10-19 02:48:16 CDT; 2min 23s ago\n   Main PID: 28842 (code=exited, status=0\/SUCCESS)\n        CPU: 5ms\n\nOct 19 02:48:16 host.test.vps systemd[1]: Starting postgresql.service - PostgreSQL RDBMS...\nOct 19 02:48:16 host.test.vps systemd[1]: Finished postgresql.service - PostgreSQL RDBMS.\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-6-Create-Odoo-System-and-Database-User\"><\/span>Step 6. Create Odoo System and Database User<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Next, we must create an Odoo system and an Odoo database user. We will create the users with the same name, <strong>odoo18<\/strong>.<\/p>\n\n\n\n<p>To create an Odoo system user in the <strong>\/opt <\/strong>directory, execute the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo useradd -m -U -r -d \/opt\/odoo18 -s \/bin\/bash odoo18\n<\/pre>\n\n\n\n<p>Odoo database user can be created with the command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo su - postgres -c \"createuser -s odoo18\"\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-7-Install-and-Configure-Odoo-18\"><\/span>Step 7. Install and Configure Odoo 18<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Next, we need to download and install Odoo. First, log in as the &#8220;odoo18&#8221; user you created before:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">su - odoo18<\/pre>\n\n\n\n<p>You will be automatically in the home directory of the odoo18 user, and that is the \/opt directory. To check this, you can execute the <strong>pwd<\/strong> command on your command line:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">odoo18@host:~$ pwd\n\/opt\/odoo18\n<\/pre>\n\n\n\n<p>Next is to download Odoo files from the Odoo GitHub repository:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">git clone https:\/\/www.github.com\/odoo\/odoo --depth 1 --branch 18.0 \/opt\/odoo18\/odoo18\n<\/pre>\n\n\n\n<p>Once downloaded, create a Python virtual environment and install the Odoo 18 requirements with the following commands one by one:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python3.12 -m venv odoo18-venv\nsource odoo18-venv\/bin\/activate\npip install --upgrade pip\npip3 install wheel\npip3 install -r odoo18\/requirements.txt\n<\/pre>\n\n\n\n<p>Once the requirements are installed, deactivate the environment with the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">deactivate<\/pre>\n\n\n\n<p>And then press CTRL+D to log out from the <strong>odoo18<\/strong> user. The screen should look like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">(odoo18-venv) odoo18@host:~$ deactivate\nodoo18@host:~$ \nlogout\nroot@host:~#\n<\/pre>\n\n\n\n<p>Next, we need to create an Odoo custom addons directory, a Log file directory along with a Log file for Odoo and grant the correct permissions:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mkdir \/opt\/odoo18\/odoo18-custom-addons\nchown -R odoo18:odoo18 \/opt\/odoo18\/odoo18-custom-addons\nmkdir -p \/var\/log\/odoo18\/ &amp;&amp; touch \/var\/log\/odoo18\/odoo18.log\nchown -R odoo18:odoo18 \/var\/log\/odoo18\/\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-8-Create-an-Odoo-configuration-file\"><\/span>Step 8. Create an Odoo configuration file<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Next, we need to create an Odoo configuration file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">touch \/etc\/odoo18.conf<\/pre>\n\n\n\n<p>Open the file with your favorite text editor and paste the following lines of code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[options]<br><br>admin_passwd = StrongPasswordHere <br>db_host = False <br>db_port = False <br>db_user = odoo18 <br>db_password = False <br>xmlrpc_port = 8069 <br>logfile = \/var\/log\/odoo18\/odoo18.log <br>addons_path = \/opt\/odoo18\/odoo18\/addons,\/opt\/odoo18\/odoo18-custom-addons<\/pre>\n\n\n\n<p>Save the file and close it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-9-Create-an-Odoo-Service-file\"><\/span>Step 9. Create an Odoo Service file<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Next, we need to create an Odoo service file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">touch \/etc\/systemd\/system\/odoo18.service<\/pre>\n\n\n\n<p>Open the file with your favorite text editor and paste the following lines of code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[Unit]\nDescription=odoo18\n\n[Service]\nType=simple\nSyslogIdentifier=odoo18\nPermissionsStartOnly=true\nUser=odoo18\nGroup=odoo18\nExecStart=\/opt\/odoo18\/odoo18-venv\/bin\/python3 \/opt\/odoo18\/odoo18\/odoo-bin -c \/etc\/odoo18.conf\nStandardOutput=journal+console\n\n[Install]\nWantedBy=multi-user.target\n<\/pre>\n\n\n\n<p>Save the file and close it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-10-Manage-Odoo-service\"><\/span>Step 10. Manage Odoo service<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Now, when everything is completed, we can manage our Odoo service. Start and enable the odoo service:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl start odoo18 &amp;&amp; sudo systemctl enable odoo18<\/pre>\n\n\n\n<p>To check the status of the Odoo service, execute the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl status odoo18<\/pre>\n\n\n\n<p>You should get output similar to this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">root@host:\/opt\/odoo18# sudo systemctl status odoo18\n\u25cf odoo18.service - odoo18\n     Loaded: loaded (\/etc\/systemd\/system\/odoo18.service; enabled; preset: enabled)\n     Active: active (running) since Sat 2024-10-19 05:22:54 CDT; 10s ago\n   Main PID: 34380 (python3)\n      Tasks: 4 (limit: 4613)\n     Memory: 89.2M (peak: 89.6M)\n        CPU: 5.899s\n     CGroup: \/system.slice\/odoo18.service\n             \u2514\u250034380 \/opt\/odoo18\/odoo18-venv\/bin\/python3 \/opt\/odoo18\/odoo18\/odoo-bin -c \/etc\/odoo18.conf\n\nOct 19 13:22:54 host.test.vps systemd[1]: Started odoo18.service - odoo18.\n<\/pre>\n\n\n\n<p>To access Odoo in the browser, you need to use your server IP address and port 8069 because, in this blog post, we configured Odoo to listen on that port.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">http:\/\/YourServerIPAddress:8069<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"897\" height=\"760\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/10\/Odoo18.png\" alt=\"install Odoo 18 on Ubuntu 24.04\" class=\"wp-image-49496\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/10\/Odoo18.png 897w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/10\/Odoo18-300x254.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/10\/Odoo18-150x127.png 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/10\/Odoo18-768x651.png 768w\" sizes=\"(max-width: 897px) 100vw, 897px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Congratulations\"><\/span>Congratulations!<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You successfully installed the latest Odoo 18 on Ubuntu 24.04. Of course, you don\u2019t have to install Odoo 18 on Ubuntu 24.04 if you have difficulties and are unfamiliar with Linux. You can always contact our technical support. With any of our <a href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">managed Ubuntu VPS<\/a> plans, we are at your disposal 24\/7 and will take care of your request immediately.<\/p>\n\n\n\n<p>If you liked this post about installing Odoo 18 on Ubuntu 24.04, please share it with your friends or leave a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Odoo is an open-source Python and Javascript software used to manage business processes. It includes various features such as customer &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Odoo 18 on Ubuntu 24.04\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#more-49494\" aria-label=\"Read more about How to Install Odoo 18 on Ubuntu 24.04\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":49577,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1698],"tags":[1603,2218,2136],"class_list":["post-49494","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-how-to-install","tag-odoo-18","tag-ubuntu-24-04","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Odoo 18 on Ubuntu 24.04: How to Install &amp; Set-Up | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to install Odoo 18 on Ubuntu 24.04 using our easy-to-follow step-by-step guide, or have our admins do it for you.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Odoo 18 on Ubuntu 24.04\" \/>\n<meta property=\"og:description\" content=\"How to Install Odoo 18 on Ubuntu 24.04 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2024-12-02T18:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-02-25T02:40:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-install-odoo-18-on-ubuntu-24-04.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-18-on-ubuntu-24-04\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-18-on-ubuntu-24-04\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Odoo 18 on Ubuntu 24.04\",\"datePublished\":\"2024-12-02T18:30:00+00:00\",\"dateModified\":\"2025-02-25T02:40:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-18-on-ubuntu-24-04\\\/\"},\"wordCount\":676,\"commentCount\":26,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-18-on-ubuntu-24-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/how-to-install-odoo-18-on-ubuntu-24-04.webp\",\"keywords\":[\"how to install\",\"odoo 18\",\"Ubuntu 24.04\"],\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-18-on-ubuntu-24-04\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-18-on-ubuntu-24-04\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-18-on-ubuntu-24-04\\\/\",\"name\":\"Odoo 18 on Ubuntu 24.04: How to Install & Set-Up | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-18-on-ubuntu-24-04\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-18-on-ubuntu-24-04\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/how-to-install-odoo-18-on-ubuntu-24-04.webp\",\"datePublished\":\"2024-12-02T18:30:00+00:00\",\"dateModified\":\"2025-02-25T02:40:56+00:00\",\"description\":\"Learn how to install Odoo 18 on Ubuntu 24.04 using our easy-to-follow step-by-step guide, or have our admins do it for you.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-18-on-ubuntu-24-04\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-18-on-ubuntu-24-04\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-18-on-ubuntu-24-04\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/how-to-install-odoo-18-on-ubuntu-24-04.webp\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/how-to-install-odoo-18-on-ubuntu-24-04.webp\",\"width\":1024,\"height\":576,\"caption\":\"How to install Odoo 18 on Ubuntu 24.04\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-odoo-18-on-ubuntu-24-04\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Odoo 18 on Ubuntu 24.04\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Odoo 18 on Ubuntu 24.04: How to Install & Set-Up | RoseHosting","description":"Learn how to install Odoo 18 on Ubuntu 24.04 using our easy-to-follow step-by-step guide, or have our admins do it for you.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Odoo 18 on Ubuntu 24.04","og_description":"How to Install Odoo 18 on Ubuntu 24.04 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2024-12-02T18:30:00+00:00","article_modified_time":"2025-02-25T02:40:56+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-install-odoo-18-on-ubuntu-24-04.webp","type":"image\/webp"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Odoo 18 on Ubuntu 24.04","datePublished":"2024-12-02T18:30:00+00:00","dateModified":"2025-02-25T02:40:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/"},"wordCount":676,"commentCount":26,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-install-odoo-18-on-ubuntu-24-04.webp","keywords":["how to install","odoo 18","Ubuntu 24.04"],"articleSection":["Ubuntu"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/","name":"Odoo 18 on Ubuntu 24.04: How to Install & Set-Up | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-install-odoo-18-on-ubuntu-24-04.webp","datePublished":"2024-12-02T18:30:00+00:00","dateModified":"2025-02-25T02:40:56+00:00","description":"Learn how to install Odoo 18 on Ubuntu 24.04 using our easy-to-follow step-by-step guide, or have our admins do it for you.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-install-odoo-18-on-ubuntu-24-04.webp","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/12\/how-to-install-odoo-18-on-ubuntu-24-04.webp","width":1024,"height":576,"caption":"How to install Odoo 18 on Ubuntu 24.04"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-odoo-18-on-ubuntu-24-04\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Odoo 18 on Ubuntu 24.04"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/49494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=49494"}],"version-history":[{"count":9,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/49494\/revisions"}],"predecessor-version":[{"id":50394,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/49494\/revisions\/50394"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/49577"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=49494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=49494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=49494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}