darling icon indicating copy to clipboard operation
darling copied to clipboard

make uninstall missing

Open superbonaci opened this issue 3 years ago • 4 comments

Following Build instructions there's no section about how to remove or clean up the system, for example make uninstall, or at least say something in documentation. How to I remove files installed with sudo make install?

superbonaci avatar Sep 02 '21 12:09 superbonaci

I suppose CMake doesn't generate this target, and 99% of software packages out there don't have it either, so shrug.

LubosD avatar Sep 02 '21 12:09 LubosD

The installer can generate a text file called darlinghq-installed-files, then you uninstall with xargs rm -rf <darlinghq-installed-files or any related shell script. You must prevent bloating systems just because, it's a bad practice.

superbonaci avatar Sep 02 '21 12:09 superbonaci

The idea is to be able to completely undo what is installed on the system by sudo make install lkm_install, so there's no need to restore a backup of the operating system to restore it to its previous state.

superbonaci avatar Sep 02 '21 12:09 superbonaci