Skip to content

Instantly share code, notes, and snippets.

@irazasyed
Last active April 1, 2020 12:25
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save irazasyed/7837838 to your computer and use it in GitHub Desktop.
Save irazasyed/7837838 to your computer and use it in GitHub Desktop.
Tut: How to install/setup latest version of PHPMyAdmin on Ubuntu 12.04 LTS (Precise Pangolin)

How to install/setup latest version of PHPMyAdmin on Ubuntu 12.04 LTS (Precise Pangolin)

As the official installation packages of most linux distributions are usually totally out of date (but that’s pure intention, to provide extremely stable versions only) it might sense to install the latest version of certain package. Install the latest version of PHPMyAdmin via:

  1. Add this package-repository to your system.
sudo add-apt-repository ppa:nijel/phpmyadmin

If you get an error message now, then please do an update first and install the python-software-properties, that need to be necessary to add a package repository:

sudo apt-get update
sudo apt-get install python-software-properties
  1. Update, regarless of what you did in step #1 (very important!):
sudo apt-get update
  1. Check the available version, have a look on the “Candidate” line (you should see the latest version of the package):
sudo apt-cache policy phpmyadmin
  1. Install PHPMyAdmin (follow the guidelines)

sudo apt-get install phpmyadmin Check the installed version of PHPMyAdmin by opening PHPMyAdmin in the browser (version info is on the right side in the home screen):

http://YOUR_IP_OR_DOMAIN/phpmyadmin

Voila!

Please note: The nijel/phpmyadmin repository (which is used here) provides the very latest version of PHPMyAdmin. Usually the new version of PHPMyAdmin available a few days after it was been officially released.

Source: Dev-Metal Note: I like to keep these tuts in gist for easy access.

@Vinitha131996
Copy link

Hello!!! I have followed these steps. But for the command "sudo add-apt-repository ppa:nijel/phpmyadmin" the response i am getting is "sudo: add-apt-repository: command not found". Can you help me to solve this issue?
Thanks in advance

@polibou
Copy link

polibou commented Oct 9, 2018

Try in this order:

sudo apt-get update
sudo apt-get install software-properties-common
sudo apt-get update
sudo add-apt-repository ppa:nijel/phpmyadmin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment