Install wget:

apt-get install wget

Download the latest phpmyadmin version:

sudo wget -P /usr/share/ "https://files.phpmyadmin.net/phpMyAdmin/4.9.0.1/phpMyAdmin-4.9.0.1-all-languages.zip"

Note: change the link with latest version of PMA.

Let’s install unzip

sudo apt-get install unzip

Remove all from phpmyadmin(old) directory:

sudo rm -rf /usr/share/phpmyadmin/*

Unzip your downloaded zip file

cd /usr/share

sudo unzip phpMyAdmin-4.9.0.1-all-languages.zip

Let’s copy the extracted directory content to phpmyadmin location:

sudo cp -r phpMyAdmin-4.9.0.1-all-languages/* /usr/share/phpmyadmin

Leave a Reply