Skip to content

Instantly share code, notes, and snippets.

@ndinev
Last active June 6, 2021 18:12
Show Gist options
  • Save ndinev/35bd918c3f10a835fec1f5f2c896a921 to your computer and use it in GitHub Desktop.
Save ndinev/35bd918c3f10a835fec1f5f2c896a921 to your computer and use it in GitHub Desktop.
Installing prerequests for Sikuli 1.1.3 installation on Ubuntu/Lubuntu 18.04LTS
## Install java8
sudo apt install -y openjdk-8-jre-headless -y
## Solve java error - Run following command from command prompt.
sudo sed -i 's/^assistive_technologies=/#&/' /etc/java-8-openjdk/accessibility.properties
# Or just comment out below line in /etc/java-8-openjdk/accessibility.properties
# assistive_technologies=org.GNOME.Accessibility.AtkWrapper
## Install other standart libs
sudo apt install wmctrl -y
sudo apt install xdotool -y
# QT4 openGL neeeded only for Lubuntu 18 (may not be needed for Ubuntu 18)
sudo apt install libqt4-opengl-dev -y
## Install old opencv-dev
sudo dpkg -i libopencv-dev_2.4.9.1+dfsg-1.5ubuntu1_amd64.deb
sudo apt -f install -y
## Outdated libs: Copy opencv 2.4 compiled libs
sudo cp libopencv_core.so.2.4.13 /usr/local/lib/
sudo cp libopencv_highgui.so.2.4.13 /usr/local/lib/
sudo cp libopencv_imgproc.so.2.4.13 /usr/local/lib/
sudo ldconfig
## Outdated libs: Install tesseract 3
sudo dpkg -i tesseract-ocr_3.04.01-4_amd64.deb
sudo apt -f install -y
sudo dpkg -i libtesseract3_3.04.01-4_amd64.deb
sudo apt -f install -y
@andyhuther
Copy link

Hi, I want to install a running sikuliX environment on my ubuntu/lubuntu 18.04.3 LTS.
standard apt-get install sikulix installs very well, but is not runable. no UI comes up. tons of java error messages..
So I´m trying this commands over here, but do I get the opencv 2.4 *.so files from ??
can´t find any hint on that :-/
thx4help

@ndinev
Copy link
Author

ndinev commented Jun 6, 2021

Sikuli should be installed from original source - https://launchpad.net/sikuli/+download

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment