How to remove items that were installed without slackpkg?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How to remove items that were installed without slackpkg?
Over time, I have installed a bunch of stuff without slackpkg. Examples are vmware, python libraries that were installed with pip, perl libraries with cpan etc.. slackpkg clean-system obviously does not recognize these items because there isn't a corresponding entry in /var/adm/packages. I am hoping there might be a way to go through the entire tree, compare to a standard slackware tree, and remove the extra stuff. Is there such a thing?
vmware comes with uninstall script, but you may need to remove some leftover. You can easily use locate vmware and remove the configuration and log files.
as for pip and cpan, they do have to be managed carefully or else it will be a mixed environment and may cause more issue in the future
usually every installed tool has an uninstaller. like: apt install/apt remove, yum install/yum remove, slackpkg install/remove, pip install/pip uninstall, amd-gpu-install/amd-gpu-uninstall just to name a few.
So you need to know how these stuff were installed and the same way you can remove them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.