How to Remove Webmin from Linux CentOS/RHEL

This article covers the steps on how to uninstall or remove webmin software on linux CentOS and Redhat enterprise Linux (RHEL) and tested work well in any older or newer version such as CentOS 5, CentOS 6, CentOS 7, RHEL 5, RHEL 6, and RHEL 7.

Doing a checking for current version of webmin will help you to identify and remove specific webmin package along with the name and version of the package easily. Webmin is an open source program that enables system administration and system configuration through a web interface that is useful for new system administrators. With Webmin, the system administrators can administer user accounts, DNS, file sharing and perform system configuration.

This article describes three alternative ways to uninstall or remove webmin software in CentOS or RHEL, but the choice of how to uninstall depend on how the installation has been done in the beginning.

1. Stop Webmin :

[root@centos6 ~]# service webmin stop
Stopping Webmin server in /usr/libexec/webmin

2. Check Webmin version that has been installed and configured :

[root@centos6 ~]# rpm -qa | grep webmin

3. Remove webmin using “rpm -e” command (Option 1):

[root@centos6 ~]# rpm -e webmin-1.590-1.noarch


4. Remove using “yum remove” command (Option 2):

[root@centos6 ~]# yum remove webmin


5. Remove using “/etc/webmin/” command (Option 3):

[root@centos6 ~]# /etc/webmin/

Example :

[root@centos6 ~]# /etc/webmin/
Are you sure you want to uninstall Webmin? (y/n) : y

Stopping Webmin server in /software/webmin
Running uninstall scripts ..
Subroutine list_servers redefined at /software/webmin/servers/ line 92.
Subroutine list_servers_sorted redefined at /software/webmin/servers/ line 111.
Subroutine get_server redefined at /software/webmin/servers/ line 143.
Subroutine save_server redefined at /software/webmin/servers/ line 158.
Subroutine delete_server redefined at /software/webmin/servers/ line 175.
Subroutine can_use_server redefined at /software/webmin/servers/ line 188.
Subroutine list_all_groups redefined at /software/webmin/servers/ line 208.
Subroutine logged_in redefined at /software/webmin/servers/ line 278.
Subroutine get_server_types redefined at /software/webmin/servers/ line 303.
Subroutine this_server redefined at /software/webmin/servers/ line 313.
Subroutine get_my_address redefined at /software/webmin/servers/ line 332.
Subroutine address_to_broadcast redefined at /software/webmin/servers/ line 361.
Subroutine test_server redefined at /software/webmin/servers/ line 375.
Subroutine find_cron_job redefined at /software/webmin/servers/ line 394.
Subroutine find_servers redefined at /software/webmin/servers/ line 407.
Deleting /software/webmin ..
Deleting /etc/webmin ..