Procurar um pacote instalado no Linux e instalar
Para procurar algum pacote no Linux Cent OS 7 digitaremos o seguinte comando para exibir todos pacotes instalados.
- yum list installed *php*
Installed Packages
php-fedora-autoloader.noarch 1.0.0-1.el7 @epel
php-php-gettext.noarch 1.0.12-1.el7 @epel
php-tcpdf.noarch 6.2.26-1.el7 @epel
php-tcpdf-dejavu-sans-fonts.noarch 6.2.26-1.el7 @epel
php70w.x86_64 7.0.33-1.w7 @webtatic
php70w-bcmath.x86_64 7.0.33-1.w7 @webtatic
php70w-cli.x86_64 7.0.33-1.w7 @webtatic
php70w-common.x86_64 7.0.33-1.w7 @webtatic
php70w-fpm.x86_64 7.0.33-1.w7 @webtatic
php70w-gd.x86_64 7.0.33-1.w7 @webtatic
php70w-mbstring.x86_64 7.0.33-1.w7 @webtatic
php70w-mysql.x86_64 7.0.33-1.w7 @webtatic
php70w-pdo.x86_64 7.0.33-1.w7 @webtatic
php70w-process.x86_64 7.0.33-1.w7 @webtatic
php70w-tidy.x86_64 7.0.33-1.w7 @webtatic
php70w-xml.x86_64 7.0.33-1.w7 @webtatic
phpMyAdmin.noarch 4.4.15.10-3.el7
Para instalar digite o seguinte comando:
- yum install php70w-imap
Agora reinicie o servidor PHP para entrar em vigor
- service php-fpm restart