skip to Main Content

Cant install phpmyadmin on kali linux rolling on virtualbox after following a 2019 tutorial on youtube,

Tried

sudo apt-get install phpmyadmin

(which was all the tutor done)

Package phpmyadmin is not available, but is referred to by another package.

apt-cache policy phpmyadmin says there is no candidate.

Unless phpmyadmin has a repository i have not added then i am confused as the tutorial i watched and followed was to the letter.

/etc/apt/sources.list

deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib

4

Answers


  1. This is because phpmyadmin is not in the kali repositories, but you can use those of debian.

    Add these repositories to your etc/apt/sources.list file:

    deb http://deb.debian.org/debian stretch main
    deb-src http://deb.debian.org/debian stretch main
    
    deb http://deb.debian.org/debian stretch-updates main
    deb-src http://deb.debian.org/debian stretch-updates main
    
    deb http://security.debian.org/debian-security/ stretch/updates main
    deb-src http://security.debian.org/debian-security/ stretch/updates main
    

    Save the file, then run the following commands:

    $ sudo apt-get update
    $ sudo apt-get upgrade
    $ sudo apt-get install phpmyadmin
    

    EDITS: phpmyadmin now is in the default repository in the latest kali versions

    Login or Signup to reply.
  2. Repository which should be in your “/etc/apt/sources.list”:

    deb http://http.kali.org/kali kali-rolling main non-free contrib
    

    Next, run the following commands:

    $ sudo apt-get update
    $ sudo apt-get install phpmyadmin -y
    $ sudo ln -s /usr/share/phpmyadmin  /var/www/html
    $ sudo service mysql start
    $ sudo service apache2 start
    

    Finally, start your favorite browser and type:

    http://localhost/phpmyadmin
    
    Login or Signup to reply.
  3. This is the best answer ever I know and it is a youtube video .
    https://www.youtube.com/watch?v=KLwQMBpUPQs

    Login or Signup to reply.
  4. Debian replaced phpmyadmin in the LAMP stack with phpliteadmin.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search