SikuliX One line installer for Linux

Asked by Dmax

------------ a solution from comment #5 for Ubuntu 16+
... might work for prior Ubuntu's and other Debian based Linux's as well

    sudo apt-get install -y libopencv-dev tesseract-ocr
    sudo apt-get install -y xdotool wmctrl
    mkdir -p $pathSikuli
    cd $pathSikuli
    wget https://launchpad.net/sikuli/sikulix/1.1.0/+download/sikulixsetup-1.1.0.jar
    java -jar sikulixsetup-1.1.0.jar options 1.1 4.3 notest
    sudo chmod +x runsikulix

--------------------------------------------------------------------

Hi RaiMan,

Thank you for continuing to work on SikuliX and not abandoning the product.

I was using Sikuli a few years back on Windows and I liked the software and thought it was kinda fun to develop small scripts on. I even sent you a question about some script I was working on and you replied kindly.

Later I switched OS to Linux Ubuntu and I will continue being on this OS.

I checked the installation instructions for SikuliX on Linux but that was kind of long.

Please RaiMan, do you think you could make a more convenient way to install on Linux? Some other software products have cool one-liners so we can just use CURL to download a script which takes care of all the installation automatically.

Your Sikuli fan

Dmax

P. S. There is an absence of macro software on Linux. Windows has AutoHotkey and such. Linux does not for some very strange reason considering how development centric the Linux OS is.

I think you could have a cool niche here with image recognition and perhaps expanding more into keyboard macros as well.

Question information

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

Sorry for the inconveniences.

But I think with latest version 1.1.1 (http://sikulix.com) things should have become rather convenient at least on Ubuntu.
Just take care to apt-get the prereqs as doc'ed and then run setup.

Since with version 2 SikuliX will be Java-only (with respect to the implementation code) I expect, that then it will be possible to more easily setup packages to be used with apt-get or other package managers on other Linux's.

Nevertheless have fun with SikuliX and thanks for feedback.

Revision history for this message
RaiMan (raimund-hocke) said :
#2

BTW: version 2 will have a recorder ;-)

Revision history for this message
Dmax (dmax15) said :
#3

Recorder! That would be cool!

I will try to install again some day if I can but from the look of it it required a little bit more effort than your average Linux software installation. As I said I will try again if I can and let me know if you got the recorder ready, I think I could see use cases right now. Lots and lots of services don't have API's these days plus who wants to learn the syntax of every API really?

-------- Original Message --------
Subject: Re: [Question #448571]: SikuliX One line installer for Linux
Local Time: January 31, 2017 4:20 PM
UTC Time: January 31, 2017 9:20 AM
From: <email address hidden>
To: <email address hidden>

Your question #448571 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/448571

RaiMan proposed the following answer:
BTW: version 2 will have a recorder ;-)

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/sikuli/+question/448571/+confirm?answer_id=1

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/448571

You received this question notification because you asked the question.

Revision history for this message
RaiMan (raimund-hocke) said :
#4

I think we could close this now.

Thanks for feedback and suggestions.

Watch the ongoing development of version 2 (https://github.com/RaiMan/SikuliX2).
I guess first useable builds will be available during April.

Revision history for this message
TestMechanic (ndinev) said :
#5

Here is a sikuli installation shell script for ubuntu 16.06LTS

    sudo apt-get install -y libopencv-dev tesseract-ocr
    sudo apt-get install -y xdotool wmctrl
    mkdir -p $pathSikuli
    cd $pathSikuli
    wget https://launchpad.net/sikuli/sikulix/1.1.0/+download/sikulixsetup-1.1.0.jar
    java -jar sikulixsetup-1.1.0.jar options 1.1 4.3 notest
    sudo chmod +x runsikulix

Hope this helps