How to install uniCenta POS on Ubuntu

uniCenta oPOS is a proven, reliable Touchscreen Point Of Sale application that meets the needs of a wide-range of businesses.

This guide is intended as a relatively easy step by step guide to:

Requirements:

  • Ubuntu 12.04 or later installed.
  • Touchscreen (optional)

1. Install Oracle Java 7 JRE or JDK.

  • uniCenta oPOS requires Oracle Java 7 JRE to be installed.
  • More information about Java on Ubuntu available here.
  • The easiest way I have found is to install Java on Ubuntu is via the Web Upd8 PPA .
  • First add the PPA. Open a Terminal Window and enter :
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
  • A good idea to minimise any Java conflicts is to remove OpenJDK.  open a Terminal Window and enter :
sudo apt-get remove --purge openjdk*
  • To install Oracle Java 7 version open a Terminal Window and enter :
sudo apt-get install oracle-java7-installer
  • Tip: Top check the Java version installed on your system open a terminal and enter :
java -version

2. Download and install uniCenta oPOS.

  • As of writing this the latest version available is version 3.02, but this version does not seem to work on Ubuntu 12.04 or higher yet. 
  • This guide will install version 3.01 which does work with Ubuntu.
  • Open the Terminal window and enter :
mkdir /tmp/unicenta
cd /tmp/unicenta
  • Then for 32bit systems download and install the 32bit version with :
wget http://sourceforge.net/projects/unicentaopos/files/app/Linux/unicentaopos-3.01-linux-installer.run
sudo chmod +x unicentaopos-3.01-linux-installer.run
sudo ./unicentaopos-3.01-linux-installer.run
  • For 64bit systems download and install the 64bit version with :
wget http://sourceforge.net/projects/unicentaopos/files/app/Linux/unicentaopos-3.01-linux-x64-installer.run
sudo chmod +x unicentaopos-3.01-linux-x64-installer.run
sudo ./unicentaopos-3.01-linux-x64-installer.run
  • Follow the on-screen instructions to complete the install.

3. Fix uniCenta oPOS launcher.

  • uniCenta oPOS creates a fautly desktop launcher icon in Ubuntu.
  • To fix this we need to first move and fix the launcher, open a terminal and enter:
cd ~/Desktop
sudo sed 's/Exec/#Exec/g' "uniCenta oPOS.desktop" > /tmp/.unicenta.desktop
sudo echo -e "\nExec=sh /opt/unicentaopos-3.01/start.sh" >> /tmp/.unicenta.desktop
sudo rm "uniCenta oPOS.desktop"
sudo mv /tmp/.unicenta.desktop "/usr/share/applications/uniCenta oPOS.desktop"

4. Fix start.sh

  • As strange as it may seem, the start.sh file has control characters (^M) in that prevents the program from running correctly on Linux.
  • To fix this we create a new start.sh file in the installation directory with the non printable characters removed.
sudo cat /opt/unicentaopos-3.01/start.sh | sed 's/\o015//g' > /tmp/.start.sh
sudo mv /opt/unicentaopos-3.01/start.sh /opt/unicentaopos-3.01/start-original.sh 
sudo mv /tmp/.start.sh /opt/unicentaopos-3.01/start.sh
  • All that is left to do is to make the start.sh file executable:
sudo chmod +x /opt/unicentaopos-3.01/start.sh
  • You will now be able to find uniCenta in the Dash and start the application.

Tags: 

Comments

Excellent.. thanks ... worked

Excellent.. thanks ... worked like a charm. Awesome commands to quickly make the necessary changes to the files.

Hi,

Hi, i follow step by step your procedure. I got a problem at point 3 : sudo echo -e "\nExec=sh /opt/unicentaopos-3.01/start.sh" >> /tmp/.unicenta.desktop terminal will show "no such file exist"

The instructions are for an

The instructions are for an English language setup. Unicenta creates a desktop icon that is used to create the application launch icon. You can just change the first line of step 3. to change directory to ~/<Your Desktop Name> and replace <Your Desktop Name> for your language specific desktop title.

Great it works nicely

Great it works nicely

Hey guys.

Hey guys. i just need to ask a quick question. I'm wondering if you can Transfer the Database from unicenta v3.55 on Windows to Ubuntu 12.04. I really don't want to lose all the work i've put into it. thanks for your time

I followed step by step this

I followed step by step this tutorial. Unicenta is installed but not started, it wants to start but stop without saying anything ...?

Open a terminal window and

Open a terminal window and start Unicenta from the command line with : sh /opt/unicentaopos-3.01/start.sh . Might give you an idea of what is going wrong.

I tried installing on ubuntu

I tried installing on ubuntu 12.04, but for some reason I had a lot of trouble making the sed command work as expected. In the end, what worked for me, was to rename the start.sh to start-original.sh, then open "start-original.sh" with gedit and then,on the save as options, I selected the Character Encoding, changing the Line Ending to: Unix/Linux.And finally saved the file as start.sh After that, I was able to run start.sh without problems

Kiosk

Any way to use Unicenta in a kiosk mode? Let's say you wanted to make your inventory available to browse on a tablet or a kiosk PC but not allow the customer to make a change to the DB? I perused the admin guide but didn't see anything that made me think it was possible.

Kiosk

No

Help

Hi, thanks a lot for this guide. I've followed the steps on Ubuntu 12.04 LTS 32 bits on Virtual Box and uniCenta 3.56. I can see uniCenta icon shortcut at Dash to fire up the program, but it does't start. Any suggestions? Thanks.

Help Version 3.56

The guide was written for version 3.02 that does work and has been tested. You would need to modify the instructions for 3.56 or it will not work. There are issues with the start.sh file. Try starting the start.sh from the command line and note errors if any.

sed line not working on 3.56

Instead of sudo cat /opt/unicentaopos-3.01/start.sh | sed 's/\o015//g' > /tmp/.start.sh it should read sudo cat /opt/unicentaopos-3.01/start.sh | sed 's/\o015/\n/g' > /tmp/.start.sh Otherwise, the start.sh file will not contain carriage returns at all and won't work. Now I need to make this work in the Spanish language or it won't be useful for me (the locale is set to Spanish already but that doesn't seem to do the trick).

Mobile web front-end for Openbravo POS forks

I had additional comment about Openbravo POS forks and my project nordpos,mobi I am develop the data object layer for POSes based on Openbravo POS 2.30.2 source code. You can connect my Java servlets to exists data base and operate on POS by tablets and smart-phones. Now available mobile web-apps for online retail, product catalog and restaurant service. All web-apps supported Opwnbravo POS, uniCenta OPOS, Wanda POS and my fork NORD POS. I hop, you will be interesting about also.