The official installation guide is provided here : http://doc.openerp.com/v6.0/install/linux/
I wanted to install it from source on a basic ubuntu 11.04 machine.
Once more, an incomplete (or not up to date) documentation.
What a time spent by all those users who are looking to make it work, if they were contributing that time to something more usefull... what a wonderfull world would it be...
"I love clear and ready-to-copy-paste documentations !!!"
First thing to know : openerp 6 needs python 2.6 and not python 2.5 since the io module needed by dateutils isn't provided in python 2.5.
Ubuntu server 11.04
Using the root account for convenience.
Database(install postgress and add openerp user)
apt-get install postgresql
createuser --createdb --username postgres --no-createrole --pwprompt openerp
apt-get install python-lxml python-mako python-egenix-mxdatetime python-dateutil python-psycopg2 python-pychart
apt-get install python-pydot python-tz python-reportlab python-yaml python-vobject
Let's add python-setuptools :
apt-get install python-setuptools
tar -zxf openerp-server-6.0.2.tar.gz
Install, add a specific user and launch the server
python setup.py install
Open a new prompt since the server is already logging in the first one.
Dependencies (here python-xml is replaced with python-lxml)
apt-get install python-gtk2 python-glade2 python-matplotlib python-egenix-mxdatetime python-lxml python-tz
apt-get install python-hippocanvas python-pydot
Download and install
tar -zxvf openerp-client-6.0.2.tar.gz
python setup.py install
You have to detect where your client has been installed. I like to use updatedb and locate commands to retrieve the good path. Finally you should get something like this :
We have to add symlinks to make our client startup :
mkdir -p /usr/share/pixmaps/
ln -s /usr/local/lib/python2.7/dist-packages/openerp_client-6.0.2-py2.7.egg/share/openerp-client /usr/share/
ln -s /usr/local/lib/python2.7/dist-packages/openerp_client-6.0.2-py2.7.egg/share/pixmaps/openerp-client /usr/share/pixmaps/
Now we have to correct openerp-client script to let it work:
NB : The two last commands are vim specific.
Now we are ready to launch our client :
Aaah !! Let's learn how it works, that will take much more time, but it will be usefull spent time ... or not ... "what does it meen?" ... no matter ... it's not intended to become a philosophical blog.