{"id":4311,"date":"2013-02-11T11:00:35","date_gmt":"2013-02-11T03:00:35","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=4311"},"modified":"2023-05-05T06:09:58","modified_gmt":"2023-05-05T06:09:58","slug":"how-to-uninstall-webmin-on-centos-6-3","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-uninstall-webmin-on-centos-6-3\/","title":{"rendered":"How to Uninstall Webmin on CentOS 6.3"},"content":{"rendered":"<p>To uninstall Webmin on CentOS 6.3, you&#8217;ll need to remove the installed package and its associated files, and then disable the repository used to install it. Here&#8217;s a step-by-step guide to uninstalling Webmin on CentOS 6.3:<\/p>\n<h2>Step 1: Stop the Webmin Service<\/h2>\n<p>First, check the Webmin version and stop the Webmin service by running the following command:<\/p>\n<pre>\r\n[root@centos63 ~]# rpm -qa webmin\r\nwebmin-1.600-1.noarch\r\n<\/pre>\n<pre>\r\n[root@centos63 ~]# sudo service webmin stop\r\n<\/pre>\n<h2>Step 2: Remove the Webmin Package<\/h2>\n<p>Next, remove the Webmin package using the yum package manager:<\/p>\n<pre>\r\n[root@centos63 ~]# sudo yum remove webmin -y\r\n<\/pre>\n<p>This command will remove Webmin and its dependencies from your system.<\/p>\n<pre>\r\n[root@centos63 ~]# sudo yum remove webmin-1.600-1.noarch\r\nLoaded plugins: fastestmirror, presto, priorities\r\nSetting up Remove Process\r\nResolving Dependencies\r\n--> Running transaction check\r\n---> Package webmin.noarch 0:1.600-1 will be erased\r\n--> Finished Dependency Resolution\r\n\r\nDependencies Resolved\r\n\r\n====================================================================================================\r\n Package               Arch                  Version                 Repository                Size\r\n====================================================================================================\r\nRemoving:\r\n webmin                noarch                1.600-1                 installed                 56 M\r\n\r\nTransaction Summary\r\n====================================================================================================\r\nRemove        1 Package(s)\r\n\r\nInstalled size: 56 M\r\nIs this ok [y\/N]: y\r\nDownloading Packages:\r\nRunning rpm_check_debug\r\nRunning Transaction Test\r\nTransaction Test Succeeded\r\nRunning Transaction\r\n  Erasing    : webmin-1.600-1.noarch                                                            1\/1\r\nRunning uninstall scripts ..\r\nSubroutine list_servers redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 92.\r\nSubroutine list_servers_sorted redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 111.\r\nSubroutine get_server redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 143.\r\nSubroutine save_server redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 158.\r\nSubroutine delete_server redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 175.\r\nSubroutine can_use_server redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 188.\r\nSubroutine list_all_groups redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 208.\r\nSubroutine logged_in redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 278.\r\nSubroutine get_server_types redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 303.\r\nSubroutine this_server redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 313.\r\nSubroutine get_my_address redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 332.\r\nSubroutine address_to_broadcast redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 361.\r\nSubroutine test_server redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 375.\r\nSubroutine find_cron_job redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 394.\r\nSubroutine find_servers redefined at \/usr\/libexec\/webmin\/servers\/servers-lib.pl line 407.\r\n  Verifying  : webmin-1.600-1.noarch                                                            1\/1\r\n\r\nRemoved:\r\n  webmin.noarch 0:1.600-1\r\n\r\nComplete!\r\n<\/pre>\n<h2>Step 3: Delete Webmin Configuration Files and Directories<\/h2>\n<p>Optionally, you may want to remove the Webmin configuration files and directories. To do this, execute the following commands:<\/p>\n<pre>\r\n[root@centos63 ~]# sudo rm -rf \/etc\/webmin\r\n[root@centos63 ~]# sudo rm -rf \/usr\/libexec\/webmin\r\n<\/pre>\n<p>These commands will delete the Webmin configuration files and its installation directory, respectively.<\/p>\n<h2>Step 4: Disable the Webmin Repository<\/h2>\n<p>To prevent the Webmin repository from being used in the future, you can disable it. Open the Webmin repository file in a text editor:<\/p>\n<pre>\r\n[root@centos63 ~]# sudo nano \/etc\/yum.repos.d\/webmin.repo\r\n<\/pre>\n<p>Find the line that says enabled=1 and change it to enabled=0. Save the changes and close the text editor.<\/p>\n<h2>Step 5: Clean Up Yum Cache<\/h2>\n<p>Finally, clean up the Yum cache to remove any remaining Webmin-related data:<\/p>\n<pre>\r\n[root@centos63 ~]# sudo yum clean all\r\n<\/pre>\n<h2>Commands Mentioned:<\/h2>\n<ul>\n<li><span class=\"fw-bold\">sudo service webmin stop<\/span> &#8211; Stop the Webmin service.<\/li>\n<li><span class=\"fw-bold\">sudo yum remove webmin -y<\/span> &#8211; Remove the Webmin package and its dependencies.<\/li>\n<li><span class=\"fw-bold\">sudo rm -rf \/etc\/webmin<\/span> &#8211; Delete the Webmin configuration files.<\/li>\n<li><span class=\"fw-bold\">sudo rm -rf \/usr\/libexec\/webmin<\/span> &#8211; Delete the Webmin installation directory.<\/li>\n<li><span class=\"fw-bold\">sudo nano \/etc\/yum.repos.d\/webmin.repo<\/span> &#8211; Open the Webmin repository file in a text editor.<\/li>\n<li><span class=\"fw-bold\">sudo yum clean all<\/span> &#8211; Clean up the Yum cache.<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>You have successfully uninstalled Webmin on CentOS 6.3. If you have any questions, comments, or suggestions for improvement, please feel free to share your thoughts in the comments section below. Your feedback is invaluable to us, and it helps us create better and more informative content for our users.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To uninstall Webmin on CentOS 6.3, you&#8217;ll need to remove the installed package and its associated files, and then disable the repository used to install it. Here&#8217;s a step-by-step guide&#8230;<\/p>\n","protected":false},"author":6,"featured_media":3728,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1091],"tags":[1244,1254,1536,1917],"class_list":["post-4311","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webmin","tag-centos","tag-centos-6-3","tag-linux","tag-webmin"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=4311"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4311\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/3728"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=4311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=4311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=4311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}