Sikuli software helps a user to automate some many of the routine GUI task. It core it uses Java Runtime environment 6 and OpenCV ( Computer Vision library ) to recognize objects on the GUI desktop of acts upon instructions provided by a user to either click button or type text and etc.
This very short document describes how to install Sikuli on Ubuntu Lucid Lynx Linux system.
By saying installation we mean installation of Sikuli prerequisites, download of Sikuli and Sikuli execution. There is not need to install Sikuli as it can be directly executed from its source directory.
List of required Sikuli dependencies:
Ubuntu lucid Lynx had moved a Sun Java Runtime Environment 6 package away from a multiverse repository into proprietary repository "partner".
Therefore if you have not done so yet add partner repository to your apt sources list:
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" $ sudo apt-get update
Now we can install all Sikuli dependencies in one go:
$ sudo apt-get install wmctrl libcv4 libhighgui4 libcvaux4 sun-java6-jre
Now that all Sikuli dependencies are installed the next step is to download Sikuli software and unzip it to a directory of our choice.
$ wget http://launchpad.net/sikuli/trunk/0.10.2/+download/Sikuli-IDE-linux-i686-0.10.2.zip
NOTE: Please check http://groups.csail.mit.edu/uid/sikuli/ for a latest version of sikuli. Now unzip Sikuli with unzip command:
$ unzip Sikuli-IDE-linux-i686-0.10.2.zip
navigate to a unziped directory and execute sikuli-ide.sh script.
$ cd Sikuli-IDE/ $ ./sikuli-ide.sh
NOTE: No installation is required. You can start skikuli directly from its source directory.