I want to get rid of LND completely from my RPi 4 and I was wondering, what's the best way to do it? I actually just want to downgrade it to 0.12 or anything different rather than the newest 0.13.1 beta version I'm using, but I guess that's not possible without uninstalling it.
You could close all channels, delete or inactivate the service and that's it.
Looking at
the code, it seems it's installed via
go install -v and since I'm not a go developer, I don't know where it copies files to and such. (I assume you built from source - uninstalling e.g. the docker version may be easier)
However, these install guides have you install and configure many things, like getting packages that you won't need anymore after switching to c-lightning, such as
go itself. That's why me personally, I'd reinstall the node. Backup the blockchain, wipe the drive, and start off clean, then put back the blockchain and Core will find it again; lastly install C-Lightning and you're good
