I need some versions of a package which are in xenial's repo, but I have bionic. How can I do?
The long version is : I need libopencv in version 2.4 (which is provided by the xenial official repository) but in bionic it is in version 3. so I need to remove version 3, add the xenial repository, and use apt-get specifying version 2.4. Is it safe? How to do this?
EDIT: What I am trying to do is to install sikuli, an applications driver which works by picture recognition. It needs among other dependencies, opencv (for the 'vision' ability) but in version 2.4.