Once the Mercurial client is installed, move to the directory to which you want to check out the source code.
We recommend to use /opt/OpenbravoERP as default path. That is not technically required but to standardize the location across installations.
It is important to have all files owned by the correct user which is used to compile openbravo as explained before in the Tomcat section.
To check out the latest source code tag, type the command:
sudo su - # Create folder with correct owner mkdir /opt/OpenbravoERP chown openbravo: /opt/OpenbravoERP # Clone source code from repo with correct user su - openbravo cd /opt/OpenbravoERP hg clone http://code.openbravo.com/erp/devel/main . hg up 3.0PR19Q1