I have an installed and running full node (version 0.21.1) on a ubuntu machine. I saw the next version (22.0) is out so I looked at the official release notes to see how I had to upgrade. The only instructions I found were to cleanly and fully shut the node down, then "copy over bitcoind/bitcoin-qt". This raised a number of questions that I hope someone out there can help me with ...
The 0.21.1 unzipped/untared install media created a directory structure which had the directories bin, lib, include, share.
The install instructions that I followed after extracting the media was to "install" the binaries using the command:
sudo install -m 0755 -o root -g root -t /usr/local/bin bitcoin-0.21.1/bin/*
This seemed to copy over the contents of the bin directory to /usr/local/bin and gave appropriate ownership/permissions.
There were no instructions for the lib, share or include directories, so those contents were not copied over to /usr/local/*
The installed bitcoind seems to work regardless, at least I have seen no obvious errors running it for the past month.
So my questions are ..
Should I have "installed" the contents of the lib, share and include directories? If not how are they being seen/referenced while in their extracted location? If they are not being used, why are they there?
When the new version (22.0) is extracted, The official upgrade instructions are to "copy over" one or two binaries. I'm guessing reissuing the install command I put earlier would be appropriate? If not, what about the rest of the contents of the bin directory? What about the contents of the new version lib, share and include directories?
I am used to installing software on linux, this just seems somewhat lacking.