Recently the new php7 has been released. However, when I am trying to install the gd package, the library can not be found.
I have tried through
sudo
check php verison first using
php -v
It will give version number suppose your version is 7.0.1 then use this command to install GD Library
sudo yum install php70-gd
OR use this command depending upon server specification
sudo apt-get install php7.0-gd