Uninstall phpMyAdmin on Ubuntu 22.04 Completely

[ad_1]

There are many reasons to uninstall phpmyadmin on Ubuntu 22.04 machine, such as whether it be security concerns, a fresh installation, or an alternative database management solution. In this tutorial, we will show you step by step how to completely remove phpmyadmin on ubuntu 22.04 system with sudo apt.

How to Uninstall phpMyAdmin on Ubuntu 22.04

To completely uninstall phpMyAdmin on Ubuntu 22.04, you can use apt remove command such as sudo apt-get remove phpmyadmin, and can use sudo apt-get purge phpmyadmin & sudo apt-get autoremove to remove its associated configuration files, directories, and dependency packages.

Here are some steps on how to completely remove phpMyAdmin on Linux ubuntu 22.04:

Step 1: Start Terminal Window

Start a terminal window by pressing Ctrl + Alt + T or searching for “Terminal” in the applications menu.

Step 2: Uninstall phpMyAdmin Ubuntu 22.04

Ubuntu uses the APT package manager. To completely remove phpmyadmin from ubuntu system, run the following commands on the terminal:

sudo apt-get remove phpmyadmin

Step 3: Remove phpMyAdmin Configuration Files & Directory

Even after uninstalling phpmyadmin, some its configuration files and directories remain in the system. You can use this command to delete files and directories.

sudo apt-get purge phpmyadmin

This will delete the PHPmYadmin configuration files and data directories.

Step 4: Remove phpMyAdmin Dependency Packages

After this, you will also have to delete dependency packages installed for phpMyAdmin. For this, you can use the command:

sudo apt-get autoremove

Step 5: Restart Apache web server

After completing the removed it, it is a good idea to restart the Apache web server for the changes to properly take effect:

sudo systemctl restart apache2

Here is the video guide to completely removed phpmyadmin from ubuntu 22.04:

Conclusion

Congratulations, you have successfully uninstalled phpMyadmin from your Ubuntu 22.04 system.

Recommended Tutorials

[ad_2]

Jaspreet Singh Ghuman

Jaspreet Singh Ghuman

Jassweb.com/

Passionate Professional Blogger, Freelancer, WordPress Enthusiast, Digital Marketer, Web Developer, Server Operator, Networking Expert. Empowering online presence with diverse skills.

jassweb logo

Jassweb always keeps its services up-to-date with the latest trends in the market, providing its customers all over the world with high-end and easily extensible internet, intranet, and extranet products.

Contact
Jassweb, Rai Chak, Punjab, India. 143518