How to Remove Webmin from Linux CentOS/RHEL

Share this Article :

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 :

[[email protected] ~]# service webmin stop
Stopping Webmin server in /usr/libexec/webmin

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

[[email protected] ~]# rpm -qa | grep webmin
webmin-1.590-1.noarch

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

[[email protected] ~]# rpm -e webmin-1.590-1.noarch

or

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

[[email protected] ~]# yum remove webmin

or

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

[[email protected] ~]# /etc/webmin/uninstall.sh

Example :

[[email protected] ~]# /etc/webmin/uninstall.sh
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/servers-lib.pl line 92.
Subroutine list_servers_sorted redefined at /software/webmin/servers/servers-lib.pl line 111.
Subroutine get_server redefined at /software/webmin/servers/servers-lib.pl line 143.
Subroutine save_server redefined at /software/webmin/servers/servers-lib.pl line 158.
Subroutine delete_server redefined at /software/webmin/servers/servers-lib.pl line 175.
Subroutine can_use_server redefined at /software/webmin/servers/servers-lib.pl line 188.
Subroutine list_all_groups redefined at /software/webmin/servers/servers-lib.pl line 208.
Subroutine logged_in redefined at /software/webmin/servers/servers-lib.pl line 278.
Subroutine get_server_types redefined at /software/webmin/servers/servers-lib.pl line 303.
Subroutine this_server redefined at /software/webmin/servers/servers-lib.pl line 313.
Subroutine get_my_address redefined at /software/webmin/servers/servers-lib.pl line 332.
Subroutine address_to_broadcast redefined at /software/webmin/servers/servers-lib.pl line 361.
Subroutine test_server redefined at /software/webmin/servers/servers-lib.pl line 375.
Subroutine find_cron_job redefined at /software/webmin/servers/servers-lib.pl line 394.
Subroutine find_servers redefined at /software/webmin/servers/servers-lib.pl line 407.
Deleting /software/webmin ..
Deleting /etc/webmin ..
Done!

Leave a Reply