Download your appropriate version from the following link
https://www.odoo.com/page/download
The downloaded file’s name will look like this
odoo_10.0.latest_all.deb
Try to install the package using the following command
dpkg -i odoo_10.0.latest_all.deb
It will generally throw an error like this
Selecting previously unselected package odoo. (Reading database ... 91189 files and directories currently installed.) Preparing to unpack odoo_10.0.latest_all (1).deb ... Unpacking odoo (10.0.20161129) ... dpkg: dependency problems prevent configuration of odoo: odoo depends on node-less; however: Package node-less is not installed. odoo depends on postgresql-client; however: Package postgresql-client is not installed. odoo depends on python; however: Package python is not installed. odoo depends on python-babel; however: Package python-babel is not installed. odoo depends on python-dateutil; however: Package python-dateutil is not installed. odoo depends on python-decorator; however: Package python-decorator is not installed. odoo depends on python-docutils; however: Package python-docutils is not installed. odoo depends on python-feedparser; however: Package python-feedparser is not installed. odoo depends on python-imaging; however: Package python-imaging is not installed. odoo depends on python-jinja2; however: Package python-jinja2 is not installed. odoo depends on python-ldap; however: Package python-ldap is not installed. odoo depends on python-libxslt1; however: Package py dpkg: error processing package odoo (--install): dependency problems - leaving unconfigured Processing triggers for systemd (229-4ubuntu13) ... Processing triggers for ureadahead (0.100.0-19) ... Errors were encountered while processing: odoo
Now run the following command
apt-get -f install
The output will be similar to this
Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: docutils-common docutils-doc fontconfig fontconfig-config fonts-dejavu-core fonts-liberation ghostscript graphviz gsfonts javascript-common libart-2.0-2 libavahi-client3 libavahi-common-data libavahi-common3 libcairo2 libcdt5 libcgraph6 libcups2 libcupsfilters1 libcupsimage2 libdatrie1 libfontconfig1 libgd3 libgraphite2-3 libgs9 libgs9-common libgvc6 libgvpr2 libharfbuzz0b libice6 libijs-0.35 libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 libjs-jquery liblcms2-2 libltdl7 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils libpaper1 libpathplan4 libpixman-1-0 libpq5 libpython-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libsm6 libthai-data libthai0 libtidy-0.99-0 libtiff5 libuv1 libvpx3 libwebp5 libwebpmux1 libxaw7 libxcb-render0 libxcb-shm0 libxmu6 libxpm4 libxrender1 libxslt1.1 libxt6 libyaml-0-2 node-amdefine node-less node-source-map nodejs poppler-data postgresql-client postgresql-client-9.5 postgresql-client-common python python-antlr python-babel python-babel-localedata python-bs4 python-cffi-backend python-chardet python-cryptography python-dateutil python-decorator python-docutils python-egenix-mxdatetime python-egenix-mxtools python-enum34 python-feedparser python-funcsigs python-html5lib python-idna python-imaging python-ipaddress python-jinja2 python-ldap python-libxml2 python-libxslt1 python-lxml python-mako python-markupsafe python-minimal python-mock python-ndg-httpsclient python-openid python-openssl python-passlib python-pbr python-pil python-pkg-resources python-psutil python-psycopg2 python-pyasn1 python-pychart python-pydot python-pygments python-pyinotify python-pyparsing python-pypdf python-renderpm python-reportlab python-reportlab-accel python-requests python-roman python-six python-stdnum python-suds python-tz python-urllib3 python-utidylib python-vatnumber python-vobject python-werkzeug python-xlsxwriter python-xlwt python-yaml python2.7 python2.7-minimal x11-common Suggested packages: ghostscript-x hpijs graphviz-doc apache2 | lighttpd | httpd cups-common libgd-tools fonts-droid texlive-lang-cjk liblcms2-utils poppler-utils fonts-japanese-mincho | fonts-ipafont-mincho fonts-japanese-gothic | fonts-ipafont-gothic fonts-arphic-ukai fonts-arphic-uming fonts-nanum postgresql-9.5 postgresql-doc-9.5 python-doc python-tk python-cryptography-doc python-cryptography-vectors texlive-latex-recommended texlive-latex-base texlive-lang-french fonts-linuxlibertine | ttf-linux-libertine python-egenix-mxdatetime-dbg python-egenix-mxdatetime-doc python-egenix-mxtools-dbg python-egenix-mxtools-doc python-enum34-doc python-funcsigs-doc python-genshi python-jinja2-doc python-ldap-doc python-lxml-dbg python-lxml-doc python-beaker python-mako-doc python-mock-doc python-openssl-doc python-openssl-dbg python-pil-doc python-pil-dbg python-setuptools python-psutil-doc python-psycopg2-doc doc-base python-pychart-doc ttf-bitstream-vera python-pyinotify-doc python-renderpm-dbg pdf-viewer python-egenix-mxtexttools python-reportlab-doc python-ntlm ipython python-greenlet python-redis python-pylibmc | python-memcache python-werkzeug-doc python-xlrd python2.7-doc binutils binfmt-support The following NEW packages will be installed: docutils-common docutils-doc fontconfig fontconfig-config fonts-dejavu-core fonts-liberation ghostscript graphviz gsfonts javascript-common libart-2.0-2 libavahi-client3 libavahi-common-data libavahi-common3 libcairo2 libcdt5 libcgraph6 libcups2 libcupsfilters1 libcupsimage2 libdatrie1 libfontconfig1 libgd3 libgraphite2-3 libgs9 libgs9-common libgvc6 libgvpr2 libharfbuzz0b libice6 libijs-0.35 libjbig0 libjbig2dec0 libjpeg-turbo8 libjpeg8 libjs-jquery liblcms2-2 libltdl7 libpango-1.0-0 libpangocairo-1.0-0 libpangoft2-1.0-0 libpaper-utils libpaper1 libpathplan4 libpixman-1-0 libpq5 libpython-stdlib libpython2.7 libpython2.7-minimal libpython2.7-stdlib libsm6 libthai-data libthai0 libtidy-0.99-0 libtiff5 libuv1 libvpx3 libwebp5 libwebpmux1 libxaw7 libxcb-render0 libxcb-shm0 libxmu6 libxpm4 libxrender1 libxslt1.1 libxt6 libyaml-0-2 node-amdefine node-less node-source-map nodejs poppler-data postgresql-client postgresql-client-9.5 postgresql-client-common python python-antlr python-babel python-babel-localedata python-bs4 python-cffi-backend python-chardet python-cryptography python-dateutil python-decorator python-docutils python-egenix-mxdatetime python-egenix-mxtools python-enum34 python-feedparser python-funcsigs python-html5lib python-idna python-imaging python-ipaddress python-jinja2 python-ldap python-libxml2 python-libxslt1 python-lxml python-mako python-markupsafe python-minimal python-mock python-ndg-httpsclient python-openid python-openssl python-passlib python-pbr python-pil python-pkg-resources python-psutil python-psycopg2 python-pyasn1 python-pychart python-pydot python-pygments python-pyinotify python-pyparsing python-pypdf python-renderpm python-reportlab python-reportlab-accel python-requests python-roman python-six python-stdnum python-suds python-tz python-urllib3 python-utidylib python-vatnumber python-vobject python-werkzeug python-xlsxwriter python-xlwt python-yaml python2.7 python2.7-minimal x11-common 0 upgraded, 141 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 36.2 MB of archives. After this operation, 156 MB of additional disk space will be used. Do you want to continue? [Y/n] Y
Press Y and continue the installation
We would need to install PostgreSQL since it is required by Odoo application
apt-get install -y postgresql-9.5
Now create a Postgres user named odoo
su - postgres -c "createuser -s odoo"
Install NPM
apt-get install -y npm
Create a soft link file named “node” in the directory “/usr/bin” linke to the file “/usr/bin/nodejs”
ln -s /usr/bin/nodejs /usr/bin/node
Install the NPM packages required
npm install -g less less-plugin-clean-css
Install Odoo now
dpkg -i odoo_10.0.latest_all.deb
Check if the service is running
service odoo status
Now load the following URL in the browser to manage the database
http://IP-ADDRESS:8069/web/database/manager
Replace with appropriate hostname or IP address in the above URL
Once Database configuration is complete use the following URL
http://IP-ADDRESS:8069