Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can not install Phpmyadmin

Tags:

phpmyadmin

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

like image 873
James Avatar asked May 12 '26 06:05

James


1 Answers

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

like image 186
Nullndr Avatar answered May 19 '26 23:05

Nullndr



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!