Contents[Hide]

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.

NOTE:

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.

1. Installing Sikuli prerequisites

List of required Sikuli dependencies:

  • OpenCV 2.0
  • Sun Java Runtime Environment 6
  • control an EWMH/NetWM compatible X Window Manager ( wmctrl )

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

2. Download Sikuli software

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

3. Start Sikuli

navigate to a unziped directory and execute sikuli-ide.sh script.

$ cd Sikuli-IDE/
$ ./sikuli-ide.sh

All done!

NOTE: No installation is required. You can start skikuli directly from its source directory.

Free Linux eBooks

Do you have the right skills?

Our IT Skills Watch page reflects an up to date IT skills demand leaning towards the Linux and Unix environment. We have considered a number of skills and operating systems.

See the result...

Linux Online Training

Learn to run Linux servers and prepare for LPI certification with Linux Academy. 104 available video lessons with PDF course notes with your own server!

Go to top