- If you are Windows, download the win32 setup executable.
- If you are on a Linux-based distribution, download the .tar.gz. The Linux version does contain 32-bit and 64-bit binaries, as well as the source in the event you wish to compile.
To install Primecoin on Windows, download the executable and run the installer.
On Linux-based distributions, you can obviously go the route of either extracting the tar.gz through a file manager (or unzipping program) or CLI. For the purposes of this installation guide, we'll simply stick with command-line interface.
Navigate to the directory you downloaded the file to.
Extract the tar.gz
tar -xzvf primecoin-*-linux.tar.gz
Install the client.
sudo cp primecoin*/bin/[architecture]/primecoind /usr/local/bin/primecoind
Replace [architecture] with 32 or 64 depending on whether you have a 32-bit or 64-bit system.
Make the daemon a service.
Note: If you have never run Primecoin before then please allow time for the blockchain to be downloaded.
To run Primecoin, simply start the Windows client. If you've never run Primecoin before, please allow it time to synchronize the blockchain. You will be able to tell when it has finished synchronizing when the client is no longer providing updates, such as "6 weeks"..."5 weeks", etc. This does not indicate how long it will take, rather how much of the blockchain will be downloaded. The time it will take for it to synchronize depends on your Internet speeds.
To run Primecoin, enter the following command, which will run the Primecoin daemon in the background and have it running after you exit the terminal.
To get a list of commands type:
To get help with a command type:
primecoind help [command]
To stop the daemon type:
To get your mining status type:
To get your balance type (tells how much Primecoin you have in your wallet):
To see your transactions (including rewards for generating) type:
To send primecoins to another address type:
primecoind sendtoaddress [address] [amount] "[comment]"
primecoind sendtoaddress AGx4qUkpKGLtBAib7AwzMyvRRFWChfnSdC 1 "Thanks for your help with setting up Primecoin"
If you want to move Primecoin, install the Primecoin wallet software on the target computer and drop wallet.dat into the install folder. To backup your wallet, make a copy of the file wallet.dat.