well, just after upgrading my Ubuntu and therefore moving to php7, I seem not to be able to install imagick extension for php using the same old command
sudo apt-get install php5-imagick
I get this error (tried php7-imagick too)
Package php5-imagick 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 E: Package 'php5-imagick' has no installation candidate
what should I do?
sudo apt install php-imagick.
apt-cache searchshows that
php-imagickis the package for php7.