Step 1: Switching to root user
Execute the following command to switch to root user
sudo su root
Step 2: Installing PostgreSQL server
Execute the following command in order to install PostgreSQL server
apt-get install postgresql -y
Step 3: Installing wkhtmltopdf
The recommended version is 0.12.5, download your system compatible Debian (.deb) file from here
Execute the following command in order to install wkhtmltopdf
dpkg -i /absolute-path-to-deb-file
Step 4: Adding Odoo-12 repository on Ubuntu
Execute the following command in order to add Odoo-12 repository
wget -O - https://nightly.odoo.com/odoo.key | apt-key add -
echo "deb http://nightly.odoo.com/12.0/nightly/deb/ ./" >> /etc/apt/sources.list.d/odoo.list
Step 5: Installing Odoo-12
Execute the following command in order to install Odoo-12
apt-get update && apt-get install odoo
If you need these features, you can install the python module like this:
$ sudo pip3 install vobject qrcode
$ sudo apt install libldap2-dev libsasl2-dev
$ sudo pip3 install pyldap
$ sudo pip3 install num2words