Following this tutorial, I am trying to install the OpenCV 3 with Python on Ubuntu 16.04.
At the step of entering $ sudo apt-get install libjpeg8-dev libtiff4-dev libjasper-dev libpng12-dev
I got this message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libtiff4-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libtiff5-dev:i386 libtiff5-dev
E: Package 'libtiff4-dev' has no installation candidate
Is this because I am using the latest LTS release of Ubuntu (the author used Ubuntu 14.04)? Is it okay if I just install the libtiff5-dev one (I mean, will it effect the OpenCV operation that I will be building from now on)?
I had the same issue on Ubuntu 15.10, So, it is not because of using latest LTS release (Ubuntu 16.04).
OpenCV requires libtiff-dev package to support TIFF images and libtiff5-dev is currently the latest available package.
So, I think it is best to install libtiff5-dev:
sudo apt-get install libtiff5-dev
(for 64 bit system)
sudo apt-get install libtiff5-dev:i386
(for 32 bit system)