the command sudo sudo yum install phpmyadmin is not working on centos7. It is not finding phpmyadmin. I can´t install phpmyadmin.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
3 answers

Hi there @othonnin,

You would need to first add the epel repository by running this command:

  • sudo yum install epel-release

I would recommend following the steps from this step by step tutorial on how to install PHPMyAdmin on CentOS 7:

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-apache-on-a-centos-7-server

Hope that this helps!
Regards,
Bobby

by Justin Ellingwood
While many users require access to a database management system like MySQL or MariaDB, not all users feel comfortable interacting with the SQL prompt on a daily basis. In this guide, we'll discuss how to install and secure phpMyAdmin, a web management interface for MySQL and MariaDB, on a CentOS 7 server. We will leverage the Apache web server for this guide.

Hi @bobbyiliev

Yes, I did that. But “sudo yum install phpmyadmin” is not working even after “sudo yum install epel-release”

  • Hi there @othonnin,

    I’ve just tested this with a fresh CentOS 7 server and it seems to work as expected:

    CentOS install PHPMyAdmin

    Can you share the output of the following command:

    • cat /etc/redhat-release

    Also can you check the enabled repositories with the following command:

    • yum repolist enabled

    Another thing you could check is if your yum config is excluding certain packages with this command here:

    • grep -r exclude /etc/yum.*

    Feel free to share the output of all the commands here so I could try to advise you further.

    Regards,
    Bobby

@bobbyiliev,

I have upgraded to CENTOS 8 to check if that was the problem but it is still not working.

CentOS Linux release 8.1.1911 (Core)

When I try again the command sudo yum install epel-release:

DigitalOcean Agent 146 kB/s | 3.3 kB 00:00

O pacote epel-release-8-8.el8.noarch já está instalado.
Dependências resolvidas.
Nada para fazer.
Concluído!

<^>Translation: DigitalOcean Agent 146 kB / s | 3.3 kB 00:00
The epel-release-8-8.el8.noarch package is already installed.
Dependencies resolved.
Nothing to do.
Concluded!<^>

The command sudo yum install phpmyadmin keeps returning this even after “yum repolist enabled” and “grep -r exclude /etc/yum.*” :

Nenhuma correspondência para argumento: phpmyadmin
Erro: Não foi possível encontrar uma correspondência: phpmyadmin
<^>
Translation: No match for argument: phpmyadmin
Error: Could not find a match: phpmyadmin<^>

Best,

Submit an Answer