When installing Magento 2.0.2 via composer getting this error:
Problem 1
- Installation request for magento/product-enterprise-edition 2.0.2 -> satisfiab
On Ubuntu 16.04 php7 is now the default, so if you follow the top answers and are still having this issue, check your php version.
php --version
If your default php version is php7, but you followed an answer using php5 packages, you can use the following command to set the default version of php to php5.6:
sudo update-alternatives --set php $(which php5.6)