I'm using QGIS 2.18.3 in Linux Mint 18. I have downloaded Orfeo Toolbox and want to add it to the processing toolbox in QGIS. I have done it under Windows indicating the bin and lib path, but on Mint doesn't work. I read https://wiki.orfeo-toolbox.org/index.php/QGIS_access_to_OTB_applications but it doesn't seem logic that I have to build it from source just to do that. Anyone knows a easy/better way to do it?
Ok, I am responding my own question because I have solved it for my own purpose. It doesn't mean that there could not be a better answer.
It seems to be due to the version. I downgrade to the LTR version of QGIS, and the Orfeo Toolbox appear in the processing toolbox!!
My steps where:
sudo apt-get remove qgis python-qgis sudo apt-get autoremove
Add PPA (add lines in etc/apt/sources.list)
# QGIS LTR deb http://qgis.org/ubuntugis-ltr xenial main deb-src http://qgis.org/ubuntugis-ltr xenial main deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu xenial main
sudo apt-get update
sudo apt-get install qgis python-qgis qgis-plugin-grass
Before you run QGIS for the first time, delete (or rename) the folder home/user/.qgis2 where user is your linux user
That is it!