This repository contains various components to create standalone installer packages or to update an existing Spectrecoin installation.
For the supportet Linux distributions there's a simple updater script located under the folder linux. This is the easiest way to update an existing installation, as long as we cannot provide dedicated packages.
The script is able to update an existing Spectrecoin installation resp. backup and update the Spectrecoin binaries located on /usr/local/bin/.
To do so, the following additional requirements must be installed:
- bash (to execute the updater script itself)
- curl (to download components to install)
- sudo (to replace binaries)
At first, spectrecoind must be stopped to replace the binaries.
Execute the updater script afterwards with
curl -L -s https://raw.githubusercontent.com/spectrecoin/installer/master/linux/updateSpectrecoin.sh | sudo bash -s
This will update the local installation to the latest release.
To update with a dedicated (develop-) version, just add the corresponding
tag to the cmdline. The following example shows the installation of Build129
:
curl -L -s https://raw.githubusercontent.com/spectrecoin/installer/master/linux/updateSpectrecoin.sh | sudo bash -s Build129
- Determine current OS by examining
/etc/os-release
- Download checksum file
- Download binary archive
- Verify md5, sha1, sha256 and sha512 hashes
- Backup current binaries if no backup of current version exists.
- Install new binaries
- Cleanup download folder
If you're using the Spectrecoin Shell UI, the update script is fully integrated since version 2.5. Go to Advanced -> Update to use it.
- Nullsoft Scriptable Install System NSIS v3.x
- Plugins:
- Setup env var NSISDIR with path to installed NSIS folder
- Extract Spectrecoin archive to
<clone-location>/windows/content/Spectrecoin/
- Execute
windows/createInstaller.bat
as Administrator or - run NSIS as administrator and load
<clone-location>/windows/Spectrecoin.nsi
The resulting Spectrecoin-Installer.exe
will be located on <clone-location>/windows/
.