redhat-performance / tuned

Tuning Profile Delivery Mechanism for Linux
GNU General Public License v2.0
814 stars 178 forks source link

Uninstall tuned with make? #653

Open foldcat opened 3 months ago

foldcat commented 3 months ago

I used make to install tuned but there doesn't seem to be a make option to uninstall it, do anyone know how, or can anyone add a way to uninstall tuned via makefile?

yarda commented 3 months ago

Unfortunately, we do not support uninstall command in the Makefile (similarly as many other projects). It's not reliable and there isn't much benefit from it. You can manually uninstall TuneD by at first doing dummy installation into specific DESTDIR e.g. /var/tmp/tuned with the make install DESTDIR=/var/tmp/tuned command, then create list of installed files and finally manually remove them from your root DESTDIR. But the preferred way is to install/uninstall TuneD through the distro package manager, which usually does the task safely and correctly.

We are not against make uninstall feature and we will probably accept it if somebody PRs it, but it wasn't priority for us.