Odoo Help


How to build a complete odoo deb package from git?

on 11/26/14, 6:10 PM 1,415 views

I cloned git@github.com:odoo/odoo.git and build a .deb by dpkg-buildpackage -rfakeroot, but the package seems to be incomplete. It has only 3.5 MB, while the official nightly deb has 44 MB. What am I missing? Thanks in advance!

Ananias Filho
On 10/20/16, 7:44 AM

Hello Martin!

The procedure is hard to found =)

So, let me show start steps:

1 - clone repo into a directory: Eg. /opt/odoo

2 - make sure the odoo is running as expected with all dependencies

3 - Go to /opt/odoo/setup folder

4 - run package.py and system will install some dependencies on your system and build deb and rpm

5 - for more informations, read the package.py file content (https://github.com/odoo/odoo/blob/10.0/setup/package.py) and/or run package.py --help

I hope these single steps can help you!

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/26/14, 6:10 PM
Seen: 1415 times
Last updated: 10/20/16, 7:44 AM