To remove Cacti Spine that was installed from source code, you’ll need to manually reverse the installation steps, since source installations don’t use a package manager like apt
to track files. Here’s a general guide:
1. Identify the Installation Directory If you still have the source directory you used to install Spine (e.g., cacti-spine-1.x.x
), it will help. If not, try to locate it:
# which spine
This will show you where the spine
binary is located (e.g., /usr/local/spine/bin/spine).
2. Remove the Binary Delete the installed binary:
# rm -rf /usr/local/spine/bin/spine
Adjust the path if it’s different.
3. Remove Configuration Files Spine typically uses a config file like /etc/spine.conf
. You can remove it with:
# rm /usr/local/spine/etc/spine.conf
4. Clean Up Source Directory (Optional) If you still have the source directory, you can run in the source code directory:
# make uninstall
This only works if the Makefile supports it and you haven’t deleted the build directory.
5. Remove Any Remaining Files You can search for leftover files:
# find /usr/local -name '*spine*'
Then manually delete anything related.
# rm -rf /usr/local/spine