-
Notifications
You must be signed in to change notification settings - Fork 2k
OpenBSD Install
Nathan Houghton edited this page Jun 12, 2020
·
23 revisions
IMPORTANT: These installation notes will apply for a future release of the Chia Network tools. The current 1.0beta7 release does not cleanly build using the procedure below.
The installation procedure below has been tested on OpenBSD 6.7, amd64.
As root (or using doas / sudo), first install some prerequisite OpenBSD ports:
pkg_add -i git python3 cmake gmake electron node gmpxx
Then, as any user, use git to fetch the chia-blockchain source code, using SSH or HTTPS:
# clone via SSH
git clone git@github.com:Chia-Network/chia-blockchain.git
# OR
# clone via HTTPS
git clone https://github.com/Chia-Network/chia-blockchain.git
Change directory into the chia-blockchain directory, and run the main install script. All programs will be installed into a Python virtual environment in the "venv" sub-directory:
cd chia-blockchain
sh install.sh
The command line tools should now be available for use in the created venv, which can be activated using:
cd chia-blockchain
. ./activate
More details can be found in the Chia Quick Start Guide.
WARNING: although the following steps have been used successfully, the resulting GUI will be run with an older version of electron than is recommended by the Chia Network team. This may result in unexpected problems.
cd chia-blockchain
. ./activate
cd electron-react
# build / set up GUI
npm run build
# Remove failed electron 8.2.5 install and fall back to the OpenBSD ports tree 8.2.0 electron,
# which currently (as of 6/10/2020) works but may not continue to work in the future.
#
# A full solution to this requires official OpenBSD electron builds, provided by the
# electron project itself.
rm -rf node_modules/electron
# Launch GUI
npm run electron
Chia Network - Green money for a digital world.
- Home
- Beginners Guide
- Install instructions
- Quick Start Guide
- FAQ - Frequently Asked Questions
- Pooling FAQ
- Pooling User Guide
- Chia Project FAQ
- Plotting Basics
- Alternate Plotters
- Plot Sizes (k-sizes)
- CLI Commands Reference
- Windows Tips & Tricks
- How to Check if Everything is Working (or Not)
- SSD Endurance - Info on SSD's and plotting
- Reference Plotting Hardware
- Reference Farming Hardware
- Farming on Many Machines
- Good Security Practices on Many Machines
- Chialisp Documentation (Official)
- How to Connect to Testnet
- Timelords and Cluster Timelords
- Release Notes
- RPC Interfaces
- Resolve Sync Issues - Port 8444