Is there an easy way to install sikuli in Ubuntu?

Asked by Lexen

Hello and thank you for reading my question.

I love sikuli and I use it all the time. It has allowed me to get more done then I could ever have hoped for without it, but installing this program usually takes me several tries and multiple hours every time, most of the time I just give up and if anything updates, then I need to start the whole process over again. Is there a simple way to install this program? I can almost never get the vision engine to work. I've installed the program from source, I've installed in from the software center, I've tried the Java only version, all of them have the same problem. I've tried every mixture of the opencv's I can think of with no luck. Am I the only person having this problem?

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

With the current version: no

Other than with Mac and Windows, the developers have decided, to not deliver a bundle, that contains all needed stuff.

So currently it is your personal job, to install the needed native stuff yourself. The problem is, that Sikuli currently only works with a specific version of OpenCV and Tesseract out of the box.

With the newer versions of e.g. Ubuntu you have preinstalled (or downloaded) OpenCV 2.4, Tesseract 3 (and even in some cases OpenJDK 7 or Java 7 instead of Oracle Java 6), with the effect, that you have to fiddle around with this stuff, to get Sikuli working.
Yes, it is a mess.

The current version of Sikuli X-1.0 rc3 (r930) needs openCV 2.1, Tesseract 2.04 and Oracle Java 6.
If you get these prereqs ready on your system, Sikuli should work, without the need to build it from source.

I am currently busy with a new version of Sikuli that I develop on Mac. The next step is to get it running on Windows. Then I will have a look on Ubuntu.

I will try to make the situation easier for Linux users too.

Revision history for this message
j (j-the-k) said :
#2

Which version of Ubuntu do you use?
Be sure you use
* a JRE6 32bit
* opencv2.1

Does "apt-get install sikuli-ide" work? I never used it, but I know it exists.

Revision history for this message
j (j-the-k) said :
#3

I use Sikuli on Ubuntu 12.04 and it works, but like RaiMan said, it's a little tricky to get it to work

Can you help with this problem?

Provide an answer of your own, or ask Lexen for more information if necessary.

To post a message you must log in.