I think to install php-imagick is correct.
sudo apt-get install php-imagick
Sorry but i do not use Ubuntu 22.04 LTS and also not Snap.
But perhaps you need php8.1-imagick
sudo apt-get install php8.1-imagick
Which PHP version does you use?
I think to install php-imagick is correct.
sudo apt-get install php-imagick
Sorry but i do not use Ubuntu 22.04 LTS and also not Snap.
But perhaps you need php8.1-imagick
sudo apt-get install php8.1-imagick
Which PHP version does you use?